Hook for the woocommerce_email_header.
$email_heading, $email
Sortie :
// Ajouter une fonction au hook action 'woocommerce_pos_email_header'
add_action('woocommerce_pos_email_header', 'ma_fonction_personnalisee', 10, 1);
function ma_fonction_personnalisee($email_heading, $email) {
// Votre code ici
error_log('Hook woocommerce_pos_email_header déclenché');
}
Chargement des actualités...