Our Register Helper Add On allows you to add new profile fields at membership checkout. This recipe will demonstrate how to use that add on to capture and populate the default fields in the WordPress User profile.
What are the default WordPress User fields?
WP_User class has the following core fields that you may want to capture at membership checkout. It’s important to use the exact field “key” so that captured fields are properly matched to the default profile field.
|Field Key||Field Name|
* This field is already captured at Membership Checkout with a default Paid Memberships Pro setup.
Capture First and Last Name
You can skip the methods below and use the Add Name to Checkout Add On to instantly add the fields for First Name and Last Name on membership checkout. This method does not require Register Helper.View the Add On
Use Billing Name as First and Last Name
This tutorial shows you how to synchronize fields from the Billing Information section of membership checkout with user meta fields, included custom fields added via the Register Helper Add On or fields core to the WordPress user object.View the Tutorial
Capture Some Other Default User Meta Field
Below is the code to use the Register Helper Add On to capture the “Biographical Info” and “Website” fields at membership checkout.
Copy and paste this code recipe into a helper PMPro Customizations plugin.