comment_moderation_recipients

過濾鉤子
apply_filters( 'comment_moderation_recipients', $emails, $comment_id )
引數
  • (string[]) $emails List of email addresses to notify for comment moderation.
    Required:
  • (int) $comment_id Comment ID.
    Required:
定義位置
相關勾子
comment_notification_recipientscomment_moderation_headerscomment_moderation_subjectcomment_moderation_textcomment_post_redirect
相關方法
comment_author_ipcomment_author_rsscomment_footer_diecomment_datecomment_author_email_linkget_comment_to_edit
引入
3.7.0
棄用
-

comment_moderation_recipients: 這個過濾鉤子允許開發者修改評論稽覈郵件的收件人列表。

過濾評論稽覈郵件的收件人列表。

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
$emails = apply_filters( 'comment_moderation_recipients', $emails, $comment_id );
$emails = apply_filters( 'comment_moderation_recipients', $emails, $comment_id );
$emails = apply_filters( 'comment_moderation_recipients', $emails, $comment_id );

常見問題

FAQs
檢視更多 >