Filters the category or list of categories.
$theliststring$separatorstring$parentsstringwp-admin/edit-tags.php:634file scopewp-admin/includes/class-walker-category-checklist.php:108Walker_Category_Checklist::start_el()wp-admin/includes/class-walker-category-checklist.php:120Walker_Category_Checklist::start_el()wp-admin/includes/template.php:250wp_popular_terms_checklist()wp-admin/includes/template.php:298wp_link_category_checklist()wp-includes/category-template.php:146get_the_category_list()wp-includes/category-template.php:162get_the_category_list()wp-includes/category-template.php:230get_the_category_list() * * @param string $thelist List of categories for the current post. * @param string $separator Separator used between the categories. * @param string $parents How to display the category parents. Accepts 'multiple', * 'single', or empty. */ return apply_filters( 'the_category', $thelist, $separator, $parents );} /** * Checks if the current post is within any of the given categories. * * The given categories are checked against the post's categories' term_ids, names and slugs.Introduced in 1.2.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.