WordPress как на ладони
Недорогой хостинг для сайтов на WordPress: wordpress.jino.ru
фильтр не описан

the_category хук-фильтр . WP 1.2.0

Filters the category or list of categories.

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

add_filter( 'the_category', 'filter_function_name_1610', 10, 3 );
function filter_function_name_1610( $thelist, $separator, $parents ){
	// filter...

	return $thelist;
}
$thelist(строка)
List of categories for the current post.
$separator(строка)
Separator used between the categories.
$parents(строка)
How to display the category parents. Accepts 'multiple', 'single', or empty.

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

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

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

get_the_category_list()
the_category
Walker_Category_Checklist::start_el()
the_category
wp_popular_terms_checklist()
the_category
wp_link_category_checklist()
the_category
wp-includes/category-template.php 220
return apply_filters( 'the_category', $thelist, $separator, $parents );
wp-includes/category-template.php 136
return apply_filters( 'the_category', '', $separator, $parents );
wp-includes/category-template.php 152
return apply_filters( 'the_category', __( 'Uncategorized' ), $separator, $parents );
wp-admin/includes/class-walker-category-checklist.php 102
esc_html( apply_filters( 'the_category', $category->name, '', '' ) ) . '</div>';
wp-admin/includes/class-walker-category-checklist.php 109
esc_html( apply_filters( 'the_category', $category->name, '', '' ) ) . '</label>';
wp-admin/includes/template.php 243
echo esc_html( apply_filters( 'the_category', $term->name, '', '' ) );
wp-admin/includes/template.php 291
$name    = esc_html( apply_filters( 'the_category', $category->name, '', '' ) );
wp-admin/edit-tags.php 597
'<strong>' . apply_filters( 'the_category', get_cat_name( get_option( 'default_category' ) ), '', '' ) . '</strong>'

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

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