comment_notification_notify_author

Advertisement

Summery Summery

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

Syntax Syntax

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

Description Description

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

Parameters Parameters

$notify

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

$comment_id

The comment ID.

Source Source

File: wp-includes/pluggable.php

Advertisement

Changelog Changelog

Changelog
Version Description
3.8.0 Introduced.

Advertisement

Leave a Reply