the_excerpt_export хук-фильтр . WP 2.6.0
Filters the post excerpt used for WXR exports.
Использование
add_filter( 'the_excerpt_export', 'filter_function_name_8881' ); function filter_function_name_8881( $post_excerpt ){ // filter... return $post_excerpt; }
- $post_excerpt(строка)
- Excerpt for the current post.
Список изменений
С версии 2.6.0 | Введена. |
Где вызывается хук
the_excerpt_export
wp-admin/includes/export.php 563
$excerpt = wxr_cdata( apply_filters( 'the_excerpt_export', $post->post_excerpt ) );