Filters the list of email addresses to receive a comment notification. By default, only post authors are notified of comments. This filter allows others to be added.
$emails, $comment->comment_ID
Sortie :
@param string[] $emails An array of email addresses to receive a comment notification. @param string $comment_id The comment ID as a numeric string.
// Modifier la valeur avec le filtre 'comment_notification_recipients'
add_filter('comment_notification_recipients', 'ma_fonction_filtre', 10, 1);
function ma_fonction_filtre($emails) {
// Modifier la valeur
return $emails;
}
Chargement des actualités...