woocommerce_resume_order

woocommerce_resume_order

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action

See hook in core

Displaying hooks found in version: woocommerce.9.5.1

do_action('woocommerce_resume_order') is found 1 times:

  • /includes/class-wc-checkout.php line 408
    				 * @since 3.0.0 or earlier
    				 *
    				 * @param int $order_id The ID of the order being resumed.
    				 */
    				do_action( 'woocommerce_resume_order', $order_id );
    
    				// Remove all items - we will re-add them later.
    				$order->remove_order_items();
    			} else {
    				$order = new WC_Order();
    			}