comment_author_rss

過濾鉤子
apply_filters( 'comment_author_rss', get_comment_author()

comment_author_rss – 這個過濾鉤子用來修改顯示在RSS feed中的評論的作者名字。評論的ID,作者的名字和評論物件作為引數傳遞給過濾器函式。

過濾當前的評論作者,以便在feed中使用。

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
return apply_filters( 'comment_author_rss', get_comment_author() );
return apply_filters( 'comment_author_rss', get_comment_author() );
return apply_filters( 'comment_author_rss', get_comment_author() );

常見問題

FAQs
檢視更多 >