Created
February 17, 2023 16:29
-
-
Save clifgriffin/534061f0a824b70efaa5d600dfd09c00 to your computer and use it in GitHub Desktop.
Fix infinite AJAX refresh when Invoice Payment Option is enabled with CheckoutWC
This file contains 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
<?php | |
add_action( | |
'wp_enqueue_scripts', | |
function() { | |
wp_deregister_script( 'af_ig-front' ); | |
}, | |
20 | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment