single_cat_title filter-hook . WP 2.0.10
Filters the category archive page title.
Usage
add_filter( 'single_cat_title', 'filter_function_name_8611' ); function filter_function_name_8611( $term_name ){ // filter... return $term_name; }
- $term_name(string)
- Category name for archive being displayed.
Changelog
Since 2.0.10 | Introduced. |
Where the hook is called
wp-includes/general-template.php 1554
$term_name = apply_filters( 'single_cat_title', $term->name );
Where in WP core the hook is used WordPress
wp-includes/general-template.php 148
add_filter( $filter, 'wptexturize' );
wp-includes/general-template.php 149
add_filter( $filter, 'strip_tags' );