Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



comment_notification_recipients ›

Seit3.7.0
Veraltetn/v
apply_filters( 'comment_notification_recipients', $emails, $comment->comment_ID )
Parameter: (2)
  • (array) $emails An array of email addresses to receive a comment notification.
    Erforderlich: Ja
  • (int) $comment_id The comment ID.
    Erforderlich: Ja
Definiert in:
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.





Quellcode

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