Update your Members List and All Users admin pages to include your unique fields using the code recipes below.

By default, any custom user field set to show on the profile page will appear on the “Edit User” admin or frontend member profile page. This method adds your field as a column on the table view as well.

Add Custom Column to Members List and All Users Admin Page Code Recipe Banner Image

Add the Column to Members List

This recipe will add the column on the admin page under Memberships > Members List.

Note: This recipe replaces the previous method to add a column to the Members List using the pmpro_memberslist_extra_cols_header and pmpro_memberslist_extra_cols_body hooks. This is the correct way to add data in Paid Memberships Pro.

Extra column to show company in members list

Add the Column to All Users List

This recipe will add the column on the admin page under Users > All Users.

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.

The recipe is currently designed to add a column “Company”. You will need to adjust this recipe for your custom column data. To add more than one additional column you will need to duplicate the functions, rename them, and update with the appropriate user meta field key value.

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