woocommerce_checkout_order_created

woocommerce_checkout_order_created

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action
See hook in action

See hook in core

Displaying hooks found in version: woocommerce.9.5.1

do_action('woocommerce_checkout_order_created') is found 1 times:

  • /includes/class-wc-checkout.php line 483
    			 * Action hook fired after an order is created.
    			 *
    			 * @since 4.3.0
    			 */
    			do_action( 'woocommerce_checkout_order_created', $order );
    
    			return $order_id;
    		} catch ( Exception $e ) {
    			if ( $order && $order instanceof WC_Order ) {
    				$order->get_data_store()->release_held_coupons( $order );
    				/**
    

See this hook used in plugins: