Skip to content

Commit

Permalink
Replace do_action_deprecated with the WC equivalent (woocommerce#5151)
Browse files Browse the repository at this point in the history
  • Loading branch information
opr authored and jonny-bull committed Dec 14, 2021
1 parent 17203d4 commit 1d0384c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/StoreApi/Routes/Checkout.php
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit 1d0384c

Please sign in to comment.