get_the_title_rss()WP 2.0.0

Retrieve the current post title for the feed.

Hooks from the function

Return

String. Current post title.

Usage

get_the_title_rss();

Changelog

Since 2.0.0 Introduced.

Code of get_the_title_rss() WP 5.9.3

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 );
}