wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



notify_post_author › Filtr WordPress Hooks

Od7.1.0
Przestarzałyn/a
› apply_filters( 'notify_post_author', $maybe_notify, $comment_id )
Parametry: (2)
  • () maybe_notify Whether to notify the post author about the new comment.
    Wymagane: Tak
  • () comment_id The ID of the comment for the notification.
    Wymagane: Tak
Zdefiniowane na:
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.





Źródło

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