wp_list_authors_args

FILTER wp-includes\author-template.php (ligne 475) github
Filters the query arguments for the list of all authors of the site.

Paramètres

Entrée :
$query_args, $parsed_args
Sortie :
@param array $query_args  The query arguments for get_users().
@param array $parsed_args The arguments passed to wp_list_authors() combined with the defaults.

Utilisation

// Modifier la valeur avec le filtre 'wp_list_authors_args'
add_filter('wp_list_authors_args', 'ma_fonction_filtre', 10, 1);

function ma_fonction_filtre($query_args) {
    // Modifier la valeur
    return $query_args;
}

Actualités

Chargement des actualités...