Filters whether to notify comment authors of their comments on their own posts. By default, comment authors aren't notified of their comments on their own posts. This filter allows you to override that.
false, $comment->comment_ID
Sortie :
@param bool $notify Whether to notify the post author of their own comment. @param string $comment_id The comment ID as a numeric string.
// Modifier la valeur avec le filtre 'comment_notification_notify_author'
add_filter('comment_notification_notify_author', 'ma_fonction_filtre', 10, 1);
function ma_fonction_filtre(false) {
// Modifier la valeur
return false;
}
Chargement des actualités...