函数文档

comment_author_rss()

💡 云策文档标注

概述

comment_author_rss() 是一个 WordPress 函数,用于在 RSS 或 Atom 订阅源中显示当前评论的作者信息。它通过调用 get_comment_author_rss() 来输出内容。

关键要点

  • 函数 comment_author_rss() 用于在订阅源中输出当前评论的作者。
  • 它直接调用 get_comment_author_rss() 来获取并显示数据。
  • 该函数位于 wp-includes/feed.php 文件中,自 WordPress 1.0.0 版本引入。

📄 原文内容

Displays the current comment author in the feed.

Source

function comment_author_rss() {
	echo get_comment_author_rss();
}

Changelog

Version Description
1.0.0 Introduced.