Filters the post type archive title.
$post_type_namestring$post_typestringwp-includes/blocks/breadcrumbs.php:460block_core_breadcrumbs_get_archive_breadcrumbs()wp-includes/general-template.php:1754post_type_archive_title() * * @since 3.1.0 * * @param string $post_type_name Post type 'name' label. * @param string $post_type Post type. */ $title = apply_filters( 'post_type_archive_title', $post_type_obj->labels->name, $post_type ); if ( $display ) { echo $prefix . $title; } else { return $prefix . $title; }Introduced in 3.1.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.