apply_filters( 'the_category', string $thelist , string $separator , string $parents )
Filters the category or list of categories.
Parameters
-
$thelist
string -
List of categories for the current post.
-
$separator
string -
Separator used between the categories.
-
$parents
string -
How to display the category parents. Accepts
'multiple'
,'single'
, or empty.
Source
File: wp-includes/category-template.php
.
View all references
return apply_filters( 'the_category', $thelist, $separator, $parents );
Changelog
Version | Description |
---|---|
1.2.0 | Introduced. |