get_the_post_type_description

过滤钩子


apply_filters( 'get_the_post_type_description', $description, $post_type_obj )
参数
  • (string)
    $description
    The post type description.
    Required:
  • (WP_Post_Type)
    $post_type_obj
    The post type object.
    Required:
定义位置
  • wp-includes/general-template.php
    , line 1862
引入
4.9.0
弃用

过滤后期类型存档的描述。

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