WordPress at a glance

get_the_title_rss() WP 1.0

Retrieve the current post title for the feed.

Hooks from function:
Return

String. Current post title.

Usage

get_the_title_rss();

Code of get_the_title_rss: wp-includes/feed.php VER 4.9.8

<?php
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.
	 */
	$title = apply_filters( 'the_title_rss', $title );
	return $title;
}

Related Functions

From tag: RSS

More from category: Posts, pages...

No comments
    Hello, !     Log In . Register