get_the_archive_title WordPress Filter Hook

The get_the_archive_title Wordpress hook is used to retrieve the title for an archive page. This hook is generally used on archive pages, such as category, author, or tag pages.

apply_filters( 'get_the_archive_title', string $title, string $original_title, string $prefix ) #

Filters the archive title.


Parameters

$title

(string)Archive title to be displayed.

$original_title

(string)Archive title without prefix.

$prefix

(string)Archive title prefix.


Top ↑

Source

File: wp-includes/general-template.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
5.5.0Added the $prefix and $original_title parameters.
4.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