Custom met filter by role
-
I would like to set up a custom filter by role. something like the following:
add_action( ‘mailusers_user_custom_meta_filter’, ‘pgc_active_members’, 5 );
function pgc_active_members()
{
mailusers_register_user_custom_meta_filter(‘Active members’, ‘Role’, ‘inactive’, ‘!=’);
}However this returns a blank list.
Other attempts with built in or custom roles also do not work.
Thanks for any help.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Custom met filter by role’ is closed to new replies.