the_content_export

过滤钩子


apply_filters( 'the_content_export', $post->post_content )
参数
  • (string)
    $post_content
    Content of the current post.
    Required:
定义位置
  • wp-admin/includes/export.php
    , line 565
引入
2.5.0
弃用

Filters the post content used for WXR exports.

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