apply_filters( 'post_type_archive_title', string $post_type_name , string $post_type )
Filters the post type archive title.
Parameters
-
$post_type_name
string -
Post type
'name'
label. -
$post_type
string -
Post type.
Source
File: wp-includes/general-template.php
.
View all references
$title = apply_filters( 'post_type_archive_title', $post_type_obj->labels->name, $post_type );
Changelog
Version | Description |
---|---|
3.1.0 | Introduced. |