comment_notification_text

過濾鉤子
apply_filters( 'comment_notification_text', $notify_message, $comment->comment_ID )
引數
  • (string) $notify_message The comment notification email text.
    Required:
  • (string) $comment_id Comment ID as a numeric string.
    Required:
定義位置
相關勾子
comment_notification_subjectcomment_notification_headerscomment_notification_recipientscomment_moderation_textcomment_notification_notify_author
相關方法
wpmu_welcome_notificationcomment_textthe_comments_navigationwpmu_welcome_user_notificationwp_comment_trashnoticecomment_form_title
引入
1.5.2
棄用
-

comment_notification_text: 該過濾器允許您修改新評論釋出時傳送的電子郵件通知的文字。

過濾評論通知的電子郵件文字。

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
$notify_message = apply_filters( 'comment_notification_text', $notify_message, $comment->comment_ID );
$notify_message = apply_filters( 'comment_notification_text', $notify_message, $comment->comment_ID );
$notify_message = apply_filters( 'comment_notification_text', $notify_message, $comment->comment_ID );

常見問題

FAQs
檢視更多 >