woocommerce_checkout_order_processed

woocommerce_checkout_order_processed

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

See hook in core

Displaying hooks found in version: woocommerce.9.5.1

do_action('woocommerce_checkout_order_processed') is found 1 times:

  • /includes/class-wc-checkout.php line 1309
    				if ( ! $order ) {
    					throw new Exception( __( 'Unable to create order.', 'woocommerce' ) );
    				}
    
    				do_action( 'woocommerce_checkout_order_processed', $order_id, $posted_data, $order );
    
    				/**
    				 * Note that woocommerce_cart_needs_payment is only used in
    				 * WC_Checkout::process_checkout() to keep backwards compatibility.
    				 * Use woocommerce_order_needs_payment instead.
    				 *