wordpress / latest / hooks / get_the_archive_title.html

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 all references

return apply_filters( 'get_the_archive_title', $title, $original_title, $prefix );

Used By

Used By Description

Changelog

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

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