Indicates that we are resuming checkout for an existing order (which is pending payment, and which has not changed since it was added to the current shopping session).
$order_id
Sortie :
@param int $order_id The ID of the order being resumed.
// Ajouter une fonction au hook action 'woocommerce_resume_order'
add_action('woocommerce_resume_order', 'ma_fonction_personnalisee', 10, 1);
function ma_fonction_personnalisee($order_id) {
// Votre code ici
error_log('Hook woocommerce_resume_order déclenché');
}
Chargement des actualités...