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



notify_post_author ›

Seit4.4.0
Veraltetn/v
apply_filters( 'notify_post_author', $maybe_notify, $comment_ID )
Parameter: (2)
  • (bool) $maybe_notify Whether to notify the post author about the new comment.
    Erforderlich: Ja
  • (int) $comment_ID The ID of the comment for the notification.
    Erforderlich: Ja
Definiert in:
Codex:

Filters whether to send the post author new comment notification emails, overriding the site setting.





Quellcode

$maybe_notify = apply_filters( 'notify_post_author', $maybe_notify, $comment_ID );