A WordPress-centric search engine for devs and theme authors



notify_post_author ›

Since4.4.0
Deprecatedn/a
apply_filters( 'notify_post_author', $maybe_notify, $comment_ID )
Parameters: (2)
  • (bool) $maybe_notify Whether to notify the post author about the new comment.
    Required: Yes
  • (int) $comment_ID The ID of the comment for the notification.
    Required: Yes
Defined at:
Codex:

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





Source

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