apply_filters( 'notify_post_author', bool $maybe_notify, int $comment_ID )

Filters whether to send the post author new comment notification emails, overriding the site setting.

Parameters Parameters


(bool) Whether to notify the post author about the new comment.


(int) The ID of the comment for the notification.

Top ↑

Source Source

File: wp-includes/comment.php

View on Trac

Top ↑

Changelog Changelog

Version Description
4.4.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.