wpseek.com
WordPress开发者和主题制作者的搜索引擎



notify_post_author › WordPress过滤钩子

Since7.1.0
已弃用n/a
› apply_filters( 'notify_post_author', $maybe_notify, $comment_id )
参数: (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
定义在:
文档:

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.





源码

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