wpseek.com
A WordPress-centric search engine for devs and theme authors



notify_post_author › WordPress Filter Hooks

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 );