wpseek.com
Uma área de pesquisa sobre o WordPress para devs e autores do tema



notify_post_author › Hooks de Filtros WordPress

Desde7.1.0
Obsoleton/a
› apply_filters( 'notify_post_author', $maybe_notify, $comment_id )
Parâmetros: (2)
  • () maybe_notify Whether to notify the post author about the new comment.
    Required: Yes
  • () comment_id The ID of the comment for the notification.
    Required: Yes
Definido em:
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.





Fonte

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