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_5916', 10, 2 );
function filter_function_name_5916( $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.

Список изменений

С версии 4.4.0 Введена.

Где вызывается хук

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

Где используется хук в ядре WordPress

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