apply_filters( 'get_the_archive_title', string $title )
Filters the archive title.
Description
Parameters
- $title
-
(string) Archive title to be displayed.
Source
Changelog
Version | Description |
---|---|
4.1.0 | Introduced. |
Filters the archive title.
(string) Archive title to be displayed.
Version | Description |
---|---|
4.1.0 | Introduced. |
TIP: Using the hook to get rid of archive “label”:
If you would like to get rid of the “Category:”, “Tag:”, “Author:”, “Archives:” and “Other taxonomy name:” in the archive title, use this little function in your (child) theme
functions.php
file:Expand full source codeCollapse full source code