the_content_export filter-hookWP 2.5.0

Filters the post content used for WXR exports.

Usage

add_filter( 'the_content_export', 'wp_kama_the_content_export_filter' );

/**
 * Function for `the_content_export` filter-hook.
 * 
 * @param string $post_content Content of the current post.
 *
 * @return string
 */
function wp_kama_the_content_export_filter( $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

export_wp()
the_content_export
wp-admin/includes/export.php 614
$content = wxr_cdata( apply_filters( 'the_content_export', $post->post_content ) );

Where the hook is used in WordPress

Usage not found.