diff --git a/src/StoreApi/Routes/Checkout.php b/src/StoreApi/Routes/Checkout.php index 2c57ae6ff35..2c7de7c4a66 100644 --- a/src/StoreApi/Routes/Checkout.php +++ b/src/StoreApi/Routes/Checkout.php @@ -248,7 +248,7 @@ protected function get_route_post_response( \WP_REST_Request $request ) { * @param \WC_Order $order Order object. * @deprecated 6.3.0 Use woocommerce_blocks_checkout_order_processed instead. */ - do_action_deprecated( + wc_do_deprecated_action( '__experimental_woocommerce_blocks_checkout_order_processed', array( $this->order, @@ -423,7 +423,7 @@ private function create_or_update_draft_order() { * * @deprecated 6.3.0 Use woocommerce_blocks_checkout_update_order_meta instead. */ - do_action_deprecated( + wc_do_deprecated_action( '__experimental_woocommerce_blocks_checkout_update_order_meta', array( $this->order, @@ -528,7 +528,7 @@ private function update_order_from_request( \WP_REST_Request $request ) { * * @deprecated 6.3.0 Use woocommerce_blocks_checkout_update_order_from_request instead. */ - do_action_deprecated( + wc_do_deprecated_action( '__experimental_woocommerce_blocks_checkout_update_order_from_request', array( $this->order,