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.
Source
Changelog
Version | Description |
---|---|
5.5.0 | Added the $prefix and $original_title parameters. |
4.1.0 | Introduced. |