comment_notification_headers

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

Paramètres

Entrée :
$message_headers, $comment->comment_ID
Sortie :
@param string $message_headers Headers for the comment notification email.
@param string $comment_id      Comment ID as a numeric string.

Utilisation

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

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

Actualités

Chargement des actualités...