Filters whether to short-circuit performing the query for author post counts.
$post_countsint[]|false
$parsed_argsarray
orderby string'nicename', 'email', 'url', 'registered', 'user_nicename', 'user_email', 'user_url', 'user_registered', 'name', 'display_name', 'post_count', 'ID', 'meta_value', 'user_login'. Default 'name'.order string'ASC', 'DESC'. Default 'ASC'.number intoptioncount boolexclude_admin bool'admin' account, if it exists. Default true.show_fullname boolhide_empty boolfeed stringfeed_image stringfeed_type string'rss2', 'atom'.echo boolstyle string'list', each author is wrapped in an <li> element, otherwise the authors will be separated by commas.html boolexclude int[]|stringinclude int[]|string$post_counts = apply_filters( 'pre_wp_list_authors_post_counts_query', false, $parsed_args );
| Version | Description |
|---|---|
| 6.1.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/pre_wp_list_authors_post_counts_query