the_excerpt_export

过滤钩子
apply_filters( 'the_excerpt_export', $post->post_excerpt )
参数
  • (string) $post_excerpt Excerpt for the current post.
    Required:
定义位置
相关勾子
the_excerpt_rssthe_content_exportthe_excerptthe_excerpt_embedthe_title_export
相关方法
the_excerpt_rssthe_excerptthe_excerpt_embedget_the_excerptthe_generatorhas_excerpt
引入
2.6.0
弃用
-

the_excerpt_export是一个WordPress过滤钩,允许开发者修改摘录内容用于导出,如导出文章或页面。在内容被导出之前,过滤器被应用到内容上。这个钩子对于对摘录内容进行任何必要的修改是很有用的,以确保它的格式正确,适合正在使用的导出格式。

过滤用于 WXR 输出的文章摘要。

$excerpt = wxr_cdata( apply_filters( 'the_excerpt_export', $post->post_excerpt ) );

常见问题

FAQs
查看更多 >
闪电侠

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

2026-03-15 15:37:21

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

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

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