comment_notification_notify_author

SummerySummery

Filters whether to notify comment authors of their comments on their own posts.

Syntax

apply_filters( 'comment_notification_notify_author', bool $notify, int $comment_id )

DescriptionDescription

By default, comment authors aren’t notified of their comments on their own posts. This filter allows you to override that.

ParametersParameters

$notify

(bool) Whether to notify the post author of their own comment. Default false.

$comment_id

(int) The comment ID.

SourceSource

File: wp-includes/pluggable.php

ChangelogChangelog

Changelog
Version Description
3.8.0 Introduced.
Scroll to Top