WordPress at a glance
filter is not described

the_category_list filter-hook . WP 4.4.0

Filters the categories before building the category list.


add_filter( 'the_category_list', 'filter_function_name_7061', 10, 2 );
function filter_function_name_7061( $categories, $post_id ){
	// filter...

	return $categories;
An array of the post's categories.
ID of the post we're retrieving categories for. When false, we assume the current post in the loop.

Where the hook is called

wp-includes/category-template.php 148
$categories = apply_filters( 'the_category_list', get_the_category( $post_id ), $post_id );

Where the hook is used (in WP core)

Использование не найдено.