single_cat_title WordPress Filter Hook
The single_cat_title hook is used to display the category title for a single post. This hook is used by the_category() function to display the category name.
apply_filters( 'single_cat_title', string $term_name ) #
Filters the category archive page title.
Parameters
- $term_name
(string)Category name for archive being displayed.
Source
Changelog
Version | Description |
---|---|
2.0.10 | Introduced. |