get_the_archive_title

过滤钩子
apply_filters( 'get_the_archive_title', $title, $original_title, $prefix )
参数
  • (string) $title Archive title to be displayed.
    Required:
  • (string) $original_title Archive title without prefix.
    Required:
  • (string) $prefix Archive title prefix.
    Required:
定义位置
相关勾子
get_the_archive_title_prefixpost_type_archive_titleget_the_archive_descriptiontwentytwenty_get_the_archive_title_regexget_archives_link
相关方法
get_the_archive_titlethe_archive_titlepost_type_archive_titleget_the_titleget_the_archive_descriptionget_the_title_rss
引入
5.5.0
弃用
-

get_the_archive_title是一个WordPress的函数,用于检索一个存档页的标题: 该函数根据正在显示的档案类型(类别、标签、作者、日期等),返回当前档案页的标题。

过滤档案标题。

return apply_filters( 'get_the_archive_title', $title, $original_title, $prefix );

常见问题

FAQs
查看更多 >
闪电侠

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

2026-01-29 16:09:51

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

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

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