single_term_title WordPress Filter Hook

The single_term_title hook allows you to modify the title of a single term page. This can be useful if you want to change the order of the terms or add custom taxonomies.

apply_filters( 'single_term_title', string $term_name ) #

Filters the custom taxonomy archive page title.


Parameters

$term_name

(string)Term name for archive being displayed.


Top ↑

Source

File: wp-includes/general-template.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
3.1.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.

Show More
Show More