the_content

过滤钩子
apply_filters( 'the_content', get_the_content()
定义位置
  • wp-content/themes/twentyseventeen/template-parts/post/content-video.php , line 45
相关勾子
phone_contentthe_content_feedthe_content_exportthe_editor_contentembed_content
相关方法
the_contentthe_content_rssget_the_contentthe_commentthe_content_feedget_the_content_feed
引入
n/a
弃用
-

the_content是一个模板标签,显示一个文章或页面的全部内容。它通常用于WordPress主题的主循环,以显示博客或档案页上的每个文章的内容。

应用于在屏幕上打印之前从数据库检索到的文章内容(也用于一些其他操作,如跟踪)。

$content = apply_filters( 'the_content', get_the_content() );

常见问题

FAQs
查看更多 >
闪电侠

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

2025-12-05 16:32:56

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

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

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