Paid Memberships Pro lets you create user profile fields through an interactive settings page right in the WordPress admin. With a variety of popular field types, this settings page makes it much easier for non-developers to create user fields for checkout, profiles, and admins only.

If you added fields before the settings page became a part of core PMPro, you had to use custom code with a free Add On called “Register Helper”. Today, the core PMPro plugin supports user fields in two ways: through the settings page OR through custom code.

Some users have asked for steps to convert their custom coded fields to use the User Fields settings interface. This is not a mandatory update—the plugin will continue to support any custom coded fields (whether using Register Helper functions or the new core functions).

We highly recommend leaving your coded fields alone. Remember that “if it isn’t broken, don’t fix it.” However, if you must convert custom coded fields into the no-code settings on the User Fields admin page, we will explain how you can in this post.

Banner Image for How to Convert Register Helper Fields to User Fields

How to Convert Custom Coded Fields to User Fields Settings

Before you get started, take a look at your custom fields code. There are certain field types and field options that are not supported through the User Fields settings page.

You should only convert fields from code to no-code if you are 100% confident that the specific field type and options are supported.

Once you are sure you can recreate your fields and all options, here’s how to do it:

  1. Find your custom code on your site.
Screenshot highlighting Snippet plugin settings in WordPress admin

  1. Navigate to Memberships > Settings > User Fields.
  2. Create One or More Field Groups
    • All fields must be placed in a group. This is the equivalent of a “checkout box” in the original Register Helper code or a Field Group in the current PMPro coded field method. Create one or more field groups for your fields.
  3. Create Your Fields
    • Recreate each field with the settings that match your custom coded fields.
    • The most important field setting to map is the field’s name. The field name is what gets stored in usermeta as the meta_key. The name you enter in the settings page must exactly match the name used in the custom code.
Metakey highlighted in Snippet Library edit snippet page

  1. Temporarily disable your custom coded fields.
    • Locate the function that adds your custom fields and uncomment the hook. You can add \\ to the hook that adds the fields. If you are using the Code Snippets plugin, you can also disable the snippet.
Custom code snippet toggled to the inactive status

  1. Save Settings and Test
    • When you are confident you have recreated all the fields and have disabled the custom fields, you can now browse frontend forms in your membership site.
    • Visit your checkout page, frontend edit user profile page, and also edit a user in the WordPress admin. Verify that all the fields are loading properly, specifically that the current data for previously coded fields is being pulled in to the new settings-based field.
    • If your previous user data isn’t populating the new fields, refer back to step 4 and confirm that the field name exactly matches the custom coded field’s name.

Create User Fields With No Code

User Fields is a robust feature in Paid Memberships Pro to create custom profile fields for your membership site. Fields can be collected at membership checkout, on the user’s profile or for administrative-view only.

View all of our documentation on User Fields below: 

Cover image from ebook 29 Nuggets of Wisdom Volume 1 - Sample Collection

Download the free ebook: Get 29 insights and ‘aha moments’ for new or veteran membership site business owners. Use these nuggets of wisdom to inspire or challenge you.

Was this article helpful?
YesNo