notify_post_author

Advertisement

Summery Summery

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

Syntax Syntax

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

Parameters Parameters

$maybe_notify

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

$comment_ID

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

Source Source

File: wp-includes/comment.php

Advertisement

Changelog Changelog

Changelog
Version Description
4.4.0 Introduced.

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.