Skip to content

Commit

Permalink
even simpler
Browse files Browse the repository at this point in the history
  • Loading branch information
frosso committed Dec 20, 2024
1 parent 9ee744c commit 56d5b9e
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,8 @@ public function init() {
woocommerce_store_api_register_update_callback(
[
'namespace' => 'woopayments/express-checkout/refresh-ui',
'callback' => function ( $data ) {
// do nothing, this callback is needed just to refresh the UI.
},
// do nothing, this callback is needed just to refresh the UI.
'callback' => '__return_null',
]
);
}
Expand Down

0 comments on commit 56d5b9e

Please sign in to comment.