comment_notification_text

FILTER wp-includes\pluggable.php (ligne 1964) github
Filters the comment notification email text.

Paramètres

Entrée :
$notify_message, $comment->comment_ID
Sortie :
@param string $notify_message The comment notification email text.
@param string $comment_id     Comment ID as a numeric string.

Utilisation

// Modifier la valeur avec le filtre 'comment_notification_text'
add_filter('comment_notification_text', 'ma_fonction_filtre', 10, 1);

function ma_fonction_filtre($notify_message) {
    // Modifier la valeur
    return $notify_message;
}

Actualités

Chargement des actualités...