woocommerce_store_api_checkout_update_order_meta

woocommerce_store_api_checkout_update_order_meta

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

See hook in core

Displaying hooks found in version: woocommerce.9.5.1

do_action('woocommerce_store_api_checkout_update_order_meta') is found 1 times:

  • /src/StoreApi/Routes/V1/Checkout.php line 479
    		 * @see https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/3686
    		 *
    		 * @param \WC_Order $order Order object.
    		 */
    		do_action( 'woocommerce_store_api_checkout_update_order_meta', $this->order );
    
    		// Confirm order is valid before proceeding further.
    		if ( ! $this->order instanceof \WC_Order ) {
    			throw new RouteException(
    				'woocommerce_rest_checkout_missing_order',
    				__( 'Unable to create order', 'woocommerce' ),