wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes



comment_notification_recipients › Les Filtres WordPress

Depuis3.7.0
Dépréciéen/a
› apply_filters( 'comment_notification_recipients', $emails, $comment->comment_ID )
Paramètres: (2)
  • () emails An array of email addresses to receive a comment notification.
    Requis: Oui
  • () comment_id The comment ID as a numeric string.
    Requis: Oui
Défini(e) dans:
Codex:

Filters the list of email addresses to receive a comment notification.

By default, only post authors are notified of comments. This filter allows others to be added.




Source

$emails = apply_filters( 'comment_notification_recipients', $emails, $comment->comment_ID );