the_title_rss

the_title_rss

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: wordpress-6.4.3

apply_filters('the_title_rss') is found 3 times:

  • /wp-includes/feed-atom-comments.php line 81
    		<?php
    		if ( ! is_singular() ) {
    			$title = get_the_title( $comment_post->ID );
    			/** This filter is documented in wp-includes/feed.php */
    			$title = apply_filters( 'the_title_rss', $title );
    			/* translators: Individual comment title. 1: Post title, 2: Comment author name. */
    			printf( ent2ncr( __( 'Comment on %1$s by %2$s' ) ), $title, get_comment_author_rss() );
    		} else {
    			/* translators: Comment author title. %s: Comment author name. */
    			printf( ent2ncr( __( 'By: %s' ) ), get_comment_author_rss() );
    		}
    
  • /wp-includes/feed-rss2-comments.php line 84
    		<?php
    		if ( ! is_singular() ) {
    			$title = get_the_title( $comment_post->ID );
    			/** This filter is documented in wp-includes/feed.php */
    			$title = apply_filters( 'the_title_rss', $title );
    			/* translators: Individual comment title. 1: Post title, 2: Comment author name. */
    			printf( ent2ncr( __( 'Comment on %1$s by %2$s' ) ), $title, get_comment_author_rss() );
    		} else {
    			/* translators: Comment author title. %s: Comment author name. */
    			printf( ent2ncr( __( 'By: %s' ) ), get_comment_author_rss() );
    		}
    
  • /wp-includes/feed.php line 166
    	 * @since 1.2.0
    	 *
    	 * @param string $title The current post title.
    	 */
    	return apply_filters( 'the_title_rss', $title );
    }
    
    /**
     * Displays the post title in the feed.
     *
     * @since 0.71
    

See this hook used in plugins: