WPDev.one
Core Function
View Source on Trac ↗

get_the_title_rss()

get_the_title_rss( mixed $post = 0 )

Retrieves the current post title for the feed.

Parameters 1 required

Name / Type Description
(int

| WP_Post) $post Optional. Post ID or WP_Post object. Default is global $post.

Required

Return Value

(string)
Current post title.

Function Information

Since Version
2.0.0
Source File
wp-includes/feed.php
Advertisement