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
return apply_filters( 'get_the_archive_title', $title, $original_title, $prefix );
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:Since 5.5.0 the nicer approach to removing prefixes would be: