mc_filter_user_arguments - joedolson/my-calendar GitHub Wiki

Filter WP_User_Query arguments in mc_get_users().

Auto-generated Example

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

Parameters

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

Files

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

← All Hooks