get_comment_author_rss(): string
Retrieves the current comment author for use in the feeds.
Return
string Comment Author.
Source
File: wp-includes/feed.php
.
View all references
function get_comment_author_rss() {
/**
* Filters the current comment author for use in a feed.
*
* @since 1.5.0
*
* @see get_comment_author()
*
* @param string $comment_author The current comment author.
*/
return apply_filters( 'comment_author_rss', get_comment_author() );
}
Hooks
-
apply_filters( 'comment_author_rss',
string $comment_author ) -
Filters the current comment author for use in a feed.
Changelog
Version | Description |
---|---|
2.0.0 | Introduced. |