comment_text_rss filter-hook . WP 1.5.0
Filters the current comment content for use in a feed.
Usage
add_filter( 'comment_text_rss', 'filter_function_name_6191' ); function filter_function_name_6191( $comment_text ){ // filter... return $comment_text; }
- $comment_text(string)
- The content of the current comment.
Changelog
Since 1.5.0 | Introduced. |
Where the hook is called
comment_text_rss
wp-includes/feed.php 363
$comment_text = apply_filters( 'comment_text_rss', $comment_text );
Where in WP core the hook is used 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' );