get_comment_author_rss

函式
get_comment_author_rss ( No parameters )
返回值
  • (string) Comment Author.
定義位置
相關方法
get_comment_author_urlget_comment_authorcomment_author_rssget_comment_author_ipget_comment_author_link
引入
2.0.0
棄用
-

get_comment_author_rss: 這個函式返回評論作者的RSS提要的URL。它需要一個引數,即$comment_ID,這是你想檢索作者的RSS feed的評論的ID。

檢索當前的評論作者,以便在feeds中使用。

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
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() );
}
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() ); }
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() );
}

常見問題

FAQs
檢視更多 >