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.7.2

apply_filters('the_title_rss') is found 3 times:

  • /wp-includes/feed-atom-comments.php line 84
    80
    81
    82
    83
    84
    85
    86
    87
    88
    89
    90
    <?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 87
    83
    84
    85
    86
    87
    88
    89
    90
    91
    92
    93
    <?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 168
    164
    165
    166
    167
    168
    169
    170
    171
    172
    173
    174
         * @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: