get_the_post_type_description
apply_filters( ‘get_the_post_type_description’, string $description , WP_Post_Type $post_type_obj )
过滤器钩子:过滤post类型存档的描述。
Filter Hook: Filters the description for a post type archive.
参数(Parameters)
参数 | 类型 | 说明 |
---|---|---|
$description | (string) | 文章类型说明。 |
$post_type_obj | (WP_Post_Type) | post类型对象。 |
源码(Source)
更新版本 | 源码位置 | 使用 | 被使用 |
---|---|---|---|
4.9.0 | wp-includes/general-template.php:1700 | 1 | 0 |
get_the_post_type_description 为WP2原创文章,链接:https://www.wp2.cn/hook/get_the_post_type_description-2/