get_the_title_rss(): string

In this article

Retrieves the current post title for the feed.

Return

string Current post title.

Source

function get_the_title_rss() {
	$title = get_the_title();

	/**
	 * Filters the post title for use in a feed.
	 *
	 * @since 1.2.0
	 *
	 * @param string $title The current post title.
	 */
	return apply_filters( 'the_title_rss', $title );
}

Hooks

apply_filters( ‘the_title_rss’, string $title )

Filters the post title for use in a feed.

Changelog

VersionDescription
2.0.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.