wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes



notify_post_author › Les Filtres WordPress

Depuis7.1.0
Dépréciéen/a
› apply_filters( 'notify_post_author', $maybe_notify, $comment_id )
Paramètres: (2)
  • () maybe_notify Whether to notify the post author about the new comment.
    Requis: Oui
  • () comment_id The ID of the comment for the notification.
    Requis: Oui
Défini(e) dans:
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.





Source

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