comment_text_rss хук-фильтр . WP 1.5.0
Filters the current comment content for use in a feed.
Использование
add_filter( 'comment_text_rss', 'filter_function_name_5199' ); function filter_function_name_5199( $comment_text ){ // filter... return $comment_text; }
- $comment_text(строка)
- The content of the current comment.
Список изменений
С версии 1.5.0 | Введена. |
Где вызывается хук
comment_text_rss
wp-includes/feed.php 363
$comment_text = apply_filters( 'comment_text_rss', $comment_text );
Где используется хук в ядре WordPress
wp-includes/feed.php 224
add_filter( 'comment_text_rss', 'ent2ncr', 8 );
wp-includes/feed.php 225
add_filter( 'comment_text_rss', 'esc_html' );
wp-includes/feed.php 226
add_filter( 'comment_text_rss', 'wp_staticize_emoji' );