Process the checkout after the confirm order button is pressed.
N/A
Sortie :
// Ajouter une fonction au hook action 'woocommerce_checkout_process'
add_action('woocommerce_checkout_process', 'ma_fonction_personnalisee', 10, 1);
function ma_fonction_personnalisee() {
// Votre code ici
error_log('Hook woocommerce_checkout_process déclenché');
}
Chargement des actualités...