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



get_the_post_type_description ›

Since4.9.0
已弃用n/a
apply_filters( 'get_the_post_type_description', $description, $post_type_obj )
参数: (2)
  • (string) $description The post type description.
    Required: Yes
  • (WP_Post_Type) $post_type_obj The post type object.
    Required: Yes
定义在:
文档:

Filters the description for a post type archive.





源码

return apply_filters( 'get_the_post_type_description', $description, $post_type_obj );