Reply To: fep_filter_rest_users_args not working


Home Forums Front End PM PRO fep_filter_rest_users_args not working Reply To: fep_filter_rest_users_args not working

#41961
shamim
Keymaster

You need to change $args parameters only. Not full get_users function.
Eg.

add_filter( 'fep_filter_rest_users_args', function( $args ){
    $args['search'] = 1449,
    return $args;
});