Action hook fired after deleting template file.
$template_type, $this
Sortie :
@param string $template The deleted template type @param string $email The email object
// Ajouter une fonction au hook action 'woocommerce_delete_email_template'
add_action('woocommerce_delete_email_template', 'ma_fonction_personnalisee', 10, 1);
function ma_fonction_personnalisee($template_type, $this) {
// Votre code ici
error_log('Hook woocommerce_delete_email_template déclenché');
}
Chargement des actualités...