W3cubDocs

/WordPress

apply_filters( ‘single_cat_title’, string $term_name )

Filters the category archive page title.

Parameters

$term_namestring
Category name for archive being displayed.

Source

$term_name = apply_filters( 'single_cat_title', $term->name );

Changelog

Version Description
2.0.10 Introduced.

© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/single_cat_title