Search Specific User and User Meta Fields (Register Helper Fields) on the Members List

The code gist below outlines how to add search functionality for a specific user profile field/user meta field added by Register Helper or other custom WordPress user meta fields. We plan to move some of this functionality into the core plugin, but welcome feedback from early adopters.

To search on a specific meta key, enter the query as follows: field_name:field_value. For example, if you have a user meta field “gender” and want to search for the value “female”, enter gender:female or to find all members with billing addresses in the state of Pennsylvania, search for pmpro_bstate:pa.

This page requires a PMPro Core Account or higher.

Already have an account? Login Now »

New to this site? Register Now »