wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



get_the_title_rss › WordPress Function

Da2.0.0
Deprecaton/a
get_the_title_rss ( $post = 0 )
Parametri:
  • (int|WP_Post) $post Optional. Post ID or WP_Post object. Default is global $post.
    Richiesto: No
    Default:
Ritorna:
  • (string) Current post title.
Definito a:
Codex:
ChangeLog:
  • 6.6.0

Retrieves the current post title for the feed.



Sorgenti

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

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