Filters whether to short-circuit performing the query for author post counts.
false, $parsed_args
Sortie :
@param int[]|false $post_counts Array of post counts, keyed by author ID. @param array $parsed_args The arguments passed to wp_list_authors() combined with the defaults.
// Modifier la valeur avec le filtre 'pre_wp_list_authors_post_counts_query'
add_filter('pre_wp_list_authors_post_counts_query', 'ma_fonction_filtre', 10, 1);
function ma_fonction_filtre(false) {
// Modifier la valeur
return false;
}
Chargement des actualités...