Docs: Add a missing docblock for the the_content_rss
filter.
See #38462, #41017 git-svn-id: https://develop.svn.wordpress.org/trunk@41216 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
9f180065d6
commit
84ef824166
@ -1652,6 +1652,14 @@ function the_author_ID() {
|
||||
function the_content_rss($more_link_text='(more...)', $stripteaser=0, $more_file='', $cut = 0, $encode_html = 0) {
|
||||
_deprecated_function( __FUNCTION__, '2.9.0', 'the_content_feed()' );
|
||||
$content = get_the_content($more_link_text, $stripteaser);
|
||||
|
||||
/**
|
||||
* Filters the post content in the context of an RSS feed.
|
||||
*
|
||||
* @since 0.71
|
||||
*
|
||||
* @param string $content Content of the current post.
|
||||
*/
|
||||
$content = apply_filters('the_content_rss', $content);
|
||||
if ( $cut && !$encode_html )
|
||||
$encode_html = 2;
|
||||
|
Loading…
Reference in New Issue
Block a user