Skip to content

mc_filter_user_arguments

github-actions[bot] edited this page Jun 3, 2026 · 4 revisions

Filter WP_User_Query arguments in mc_get_users().

Auto-generated Example

add_filter(
   'mc_filter_user_arguments',
    function(
        array $args,
        int $count,
        string
    ) {
        // Your code here.
        return $args;
    },
    10,
    3
);

Parameters

  • array $args Array of arguments.
  • int $count The count of total users.
  • string $group Either 'authors' or 'hosts'. Other variable names: $group

Files

apply_filters( 'mc_filter_user_arguments', $args, $count, $group )

← All Hooks

Clone this wiki locally