WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about pre_wp_list_authors_post_counts_query

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-includes/author-template.php apply_filters 481 /**
* Filters whether to short-circuit performing the query for author post counts.
*
* @since 6.1.0
*
* @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.
*/

Hook Parameters

Parameter Type Name Description
int[]|false $post_counts Array of post counts, keyed by author ID.
array $parsed_args The arguments passed to wp_list_authors() combined with the defaults.