Fires to allow a plugin to do a complete takeover of Post by Email.
N/A
Sortie :
// Ajouter une fonction au hook action 'wp-mail.php'
add_action('wp-mail.php', 'ma_fonction_personnalisee', 10, 1);
function ma_fonction_personnalisee() {
// Votre code ici
error_log('Hook wp-mail.php déclenché');
}
Chargement des actualités...