how archive title in wordpress code example
Example: wordpress get archive title
$archive_title = get_the_archive_title()
// * Filters the archive title prefix.
// apply_filters( 'get_the_archive_title_prefix', $prefix );
// * Filters the archive title.
// apply_filters( 'get_the_archive_title', $title, $original_title, $prefix );