wpseek.com
A WordPress-centric search engine for devs and theme authors



post_type_archive_title › WordPress Filter Hooks

Since3.1.0
Deprecatedn/a
apply_filters( 'post_type_archive_title', $post_type_obj->labels->name, $post_type )
Parameters: (2)
  • (string) $post_type_name Post type 'name' label.
    Required: Yes
  • (string) $post_type Post type.
    Required: Yes
Defined at:
Codex:

Filters the post type archive title.





Source

$title = apply_filters( 'post_type_archive_title', $post_type_obj->labels->name, $post_type );