WordPress at a glance
action is not described

__experimental_woocommerce_blocks_checkout_order_processed action-hook . WC 1.0

WooCommerce Blocks Checkout Order Processed (experimental).

This hook informs extensions that $order has completed processing and is ready for payment.

This is similar to existing core hook woocommerce_checkout_order_processed. 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.

Usage

add_action( '__experimental_woocommerce_blocks_checkout_order_processed', 'action_function_name_3747' );
function action_function_name_3747( $order ){
	// action...
}
$order(WC_Order)
Order object.

Where the hook is called

Checkout::get_route_post_response()
__experimental_woocommerce_blocks_checkout_order_processed
woocommerce/packages/woocommerce-blocks/src/StoreApi/Routes/Checkout.php 236
do_action( '__experimental_woocommerce_blocks_checkout_order_processed', $this->order );

Where in WP core the hook is used WooCommerce

Usage not found.