the_title

过滤钩子
apply_filters( 'the_title', $page->post_title, $page->ID )
定义位置
  • wp-content/themes/twentytwenty/classes/class-twentytwenty-walker-page.php , line 137
相关勾子
the_title_rssthe_timethe_sitesthe_title_exportwp_title
相关方法
the_titlethe_title_rssthe_timeget_the_titlethe_datewp_title
引入
n/a
弃用
-

the_title – 这是一个WordPress模板标签,显示一个文章、页面或自定义文章类型的标题。它通常在WordPress循环中使用,以显示正在处理的当前文章的标题。标题显示为纯文本字符串,没有任何HTML格式化。

这个过滤器在wp-includes/post-template.php中有记录。

apply_filters( 'the_title', $page->post_title, $page->ID ),

常见问题

FAQs
查看更多 >
闪电侠

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

2026-03-15 17:37:24

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

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

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