do_action( '__experimental_woocommerce_blocks_checkout_update_order_meta', WC_Order $order )
WooCommerce Blocks Checkout Update Order Meta (experimental).
Description Description
This hook gives extensions the chance to add or update meta data on the $order.
This is similar to existing core hook woocommerce_checkout_update_order_meta. We’re using a new action:
- To keep the interface focused (only pass $order, not passing request data).
- This also explicitly indicates these orders are from checkout block/StoreAPI.
See also See also
Parameters Parameters
- $order
-
Order object.
Source Source
File: packages/woocommerce-blocks/src/StoreApi/Routes/Checkout.php