Created
June 13, 2025 05:55
-
-
Save rajeshsingh520/87ae0a23bef8111b09ee607d4d9c5f83 to your computer and use it in GitHub Desktop.
disable pickup location loading by ajax
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add_filter('woocommerce_update_order_review_fragments',function($fragment){ | |
if(is_array($fragment)){ | |
$fragment['dont_reload_pickup_location'] = true; | |
} | |
return $fragment; | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment