W3cubDocs

/WordPress

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.

Source

File: wp-includes/general-template.php

View on Trac

Changelog

Version Description
5.5.0 Added the $prefix and $original_title parameters.
4.1.0 Introduced.

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