wp_mail_original_content

FILTER wp-mail.php (ligne 201) github
Filters the original content of the email. Give Post-By-Email extending plugins full access to the content, either the raw content, or the content of the last quoted-printable section.

Paramètres

Entrée :
$content
Sortie :
@param string $content The original email content.

Utilisation

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

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

Actualités

Chargement des actualités...