wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



comment_notification_recipients › Filtr WordPress Hooks

Od3.7.0
Przestarzałyn/a
› apply_filters( 'comment_notification_recipients', $emails, $comment->comment_ID )
Parametry: (2)
  • () emails An array of email addresses to receive a comment notification.
    Wymagane: Tak
  • () comment_id The comment ID as a numeric string.
    Wymagane: Tak
Zdefiniowane na:
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.




Źródło

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