the_content_export filter-hook . WP 2.5.0
Filters the post content used for WXR exports.
Usage
add_filter( 'the_content_export', 'filter_function_name_9738' ); function filter_function_name_9738( $post_content ){ // filter... return $post_content; }
- $post_content(string)
- Content of the current post.
Changelog
Since 2.5.0 | Introduced. |
Where the hook is called
the_content_export
wp-admin/includes/export.php 554
$content = wxr_cdata( apply_filters( 'the_content_export', $post->post_content ) );