the_content_export

过滤钩子
apply_filters( 'the_content_export', $post->post_content )
参数
  • (string) $post_content Content of the current post.
    Required:
定义位置
相关勾子
the_content_feedthe_title_exportthe_contentthe_excerpt_exportembed_content_meta
相关方法
the_content_rssthe_contentthe_content_feedget_the_content_feedget_the_contentget_comment_excerpt
引入
2.5.0
弃用
-

the_content_export与the_content相似,但专门用于从WordPress导出数据。它用于将文章内容的格式化,使之适合于导出到其他系统。

过滤用于 WXR 输出的文章内容。

$content = wxr_cdata( apply_filters( 'the_content_export', $post->post_content ) );

常见问题

FAQs
查看更多 >
闪电侠

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

2025-12-05 15:32:55

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

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

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