WordPress at a glance

get_the_title_rss() WP 1.0

Retrieve the current post title for the feed.

Возвращает

String. Current post title.

Hooks from the function

Usage

get_the_title_rss();

Список изменений

С версии 2.0.0 Введена.

Code of get_the_title_rss() WP 5.5.1

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

Related Functions

From tag: RSS

More from category: Posts, pages...

No comments
    Log In . Register