woocommerce_checkout_create_order

woocommerce_checkout_create_order

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

See hook in core

Displaying hooks found in version: woocommerce.9.5.1

do_action('woocommerce_checkout_create_order') is found 1 times:

  • /includes/class-wc-checkout.php line 466
    			 * Action hook to adjust order before save.
    			 *
    			 * @since 3.0.0
    			 */
    			do_action( 'woocommerce_checkout_create_order', $order, $data );
    
    			// Save the order.
    			$order_id = $order->save();
    
    			/**
    			 * Action hook fired after an order is created used to add custom meta to the order.