wpseek.com
WordPress开发者和主题制作者的搜索引擎



post_type_archive_title › WordPress过滤钩子

Since3.1.0
已弃用n/a
apply_filters( 'post_type_archive_title', $post_type_obj->labels->name, $post_type )
参数: (2)
  • (string) $post_type_name Post type 'name' label.
    Required: Yes
  • (string) $post_type Post type.
    Required: Yes
定义在:
文档:

Filters the post type archive title.





源码

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