woocommerce_resume_order

ACTION woocommerce\includes\class-wc-checkout.php (ligne 410) github
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).

Paramètres

Entrée :
$order_id
Sortie :
@param int $order_id The ID of the order being resumed.

Utilisation

// 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é');
}

Actualités

Chargement des actualités...