By default, any custom user field you add to Paid Memberships Pro appears on the individual “Edit User” admin page or frontend member profile page. If you want to view that data across all members without opening each record, you need to surface it in the admin list view.

This code recipe shows you how to add a custom column to two admin screens: the PMPro Members List under Memberships > Members List, and the standard WordPress All Users screen under Users > All Users.

Code recipe thumbnail showing a WordPress Users admin list with a highlighted custom Company column

Do You Need This Recipe?

This recipe is useful if:

  • You collect custom user fields (such as company name, phone number, or job title) and want to see that data directly in the admin member or user list
  • You want to filter or sort members by a custom field without opening each user record
  • You manage a membership site where reviewing user metadata in bulk is part of your regular workflow

If you only need to view custom field data occasionally, navigating to individual user edit pages may be sufficient and no recipe is needed.

About the Code Recipes

These two recipes work independently. Add one or both depending on which admin screens matter most to your workflow.

Both recipes use get_user_meta() to retrieve the stored field value. The example shows a “Company” field, but you can swap in any user meta key your site collects. To add more than one column, duplicate the relevant functions and update the column key and meta key in each copy.

The Code Recipes

Recipe 1: Add a Column to the PMPro Members List

PMPro Members List admin screen with a custom Company column highlighted

Recipe 2: Add a Column to the WordPress All Users Screen

WordPress All Users admin screen with a custom Company column highlighted

Adding the Recipe to Your Website

You can add this recipe to your site by creating a custom plugin or using the Code Snippets plugin available for free in the WordPress repository. Read this companion article for step-by-step directions on either method.

How to Customize This Code Recipe

Change the column key and meta key: Replace company in both the column key, column label, and the get_user_meta() call with the user meta key for any field your site collects.

  • Recipe 1: Update lines 4, 54, and 55.
  • Recipe 2: Update lines 19, 26, and 27.

Add multiple columns: Duplicate both functions for each additional column. Give each pair of functions unique names and update the column key and meta key for each one. All columns added to the array will appear in the list.

Video: Coding with Sam Walkthrough

Free Course: Membership Site Development—The Basics

Develop a deeper understanding of membership site development in this beginner-level course. Learn how to make your site work better, save yourself time and money, and improve your site's performance.

Featured Image for Membership Site Development Course: The Basics


Was this article helpful?
YesNo