WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about the_category_list

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-includes/category-template.php apply_filters 158 /**
* Filters the categories before building the category list.
*
* @since 4.4.0
*
* @param WP_Term[] $categories An array of the post's categories.
* @param int|false $post_id ID of the post to retrieve categories for.
* When `false`, defaults to the current post in the loop.
*/

Hook Parameters

Parameter Type Name Description
WP_Term[] $categories An array of the post's categories.
int|false $post_id ID of the post to retrieve categories for.