the_excerpt_export filter-hookWP 2.6.0

Filters the post excerpt used for WXR exports.

Usage

add_filter( 'the_excerpt_export', 'wp_kama_the_excerpt_export_filter' );

/**
 * Function for `the_excerpt_export` filter-hook.
 * 
 * @param string $post_excerpt Excerpt for the current post.
 *
 * @return string
 */
function wp_kama_the_excerpt_export_filter( $post_excerpt ){

	// filter...
	return $post_excerpt;
}
$post_excerpt(string)
Excerpt for the current post.

Changelog

Since 2.6.0 Introduced.

Where the hook is called

export_wp()
the_excerpt_export
wp-admin/includes/export.php 577
$excerpt = wxr_cdata( apply_filters( 'the_excerpt_export', $post->post_excerpt ) );

Where the hook is used in WordPress

Usage not found.