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 );

Leave a Reply

Your email address will not be published. Required fields are marked *