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:
定义位置
相关勾子
get_the_archive_descriptionpre_user_descriptioncategory_descriptionuser_request_action_descriptionuser_profile_picture_description
相关方法
get_the_post_type_descriptionget_the_author_descriptionget_the_archive_descriptionget_file_descriptionget_the_post_navigationget_the_posts_pagination
引入
4.9.0
弃用
-

get_the_post_type_description: 这个函数检索当前文章的文章类型的描述。文章类型可以有一个描述,在不同的情况下使用,如在管理界面或主题模板中。

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

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

常见问题

FAQs
查看更多 >
闪电侠

(工作日 10:00 - 18:30 为您服务)

2025-12-15 02:36:46

您好,无论是售前、售后、意见建议……均可通过联系工单与我们取得联系。

您也可选择聊天工具与我们即时沟通或点击查看:

您的工单我们已经收到,我们将会尽快跟您联系!
取消
选择聊天工具: