Support » Plugin: Email Users » 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.

  • You must be logged in to reply to this topic.