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



notify_post_author › WordPress Filter Hooks

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

Filters whether to send the post author new comment and note notification emails, overriding the site settings and defaults. By default, notifications are sent for all notes and for approved comments.





Quellcode

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