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



notify_post_author › Les Filtres WordPress

Depuis4.4.0
Dépréciéen/a
apply_filters( 'notify_post_author', $maybe_notify, $comment_id )
Paramètres: (2)
  • (bool) $maybe_notify Whether to notify the post author about the new comment.
    Requis: Oui
  • (int) $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 notification emails, overriding the site setting.





Source

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