wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



comment_notification_recipients › WordPress Filter Hooks

Da3.7.0
Deprecaton/a
apply_filters( 'comment_notification_recipients', $emails, $comment->comment_ID )
Parametri: (2)
  • (string[]) $emails An array of email addresses to receive a comment notification.
    Richiesto:
  • (string) $comment_id The comment ID as a numeric string.
    Richiesto:
Definito a:
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.





Sorgenti

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