Uma área de pesquisa sobre o WordPress para devs e autores do tema



post_type_archive_title ›

Desde3.1.0
Obsoleton/a
apply_filters( 'post_type_archive_title', $post_type_obj->labels->name, $post_type )
Parâmetros: (2)
  • (string) $post_type_name Post type 'name' label.
    Required: Yes
  • (string) $post_type Post type.
    Required: Yes
Definido em:
Codex:

Filters the post type archive title.





Fonte

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