Filters the archive title.
Parameters
$titlestring- Archive title to be displayed.
$original_titlestring- Archive title without prefix.
$prefixstring- 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.phpfile:Since 5.5.0 the nicer approach to removing prefixes would be: