woocommerce_resume_order
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).
Usage
add_action( 'woocommerce_resume_order', 'wp_kama_woocommerce_resume_order_action' ); /** * Function for `woocommerce_resume_order` action-hook. * * @param int $order_id The ID of the order being resumed. * * @return void */ function wp_kama_woocommerce_resume_order_action( $order_id ){ // action... }
- $order_id(int)
- The ID of the order being resumed.
Changelog
Since 3.0.0 | Introduced. |
Since 3.0.0 | or earlier |
Where the hook is called
woocommerce_resume_order
woocommerce/includes/class-wc-checkout.php 395
do_action( 'woocommerce_resume_order', $order_id );