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



comment_notification_recipients › WordPress Filter Hooks

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