Skip to content

Instantly share code, notes, and snippets.

@clifgriffin
Created February 17, 2023 16:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save clifgriffin/534061f0a824b70efaa5d600dfd09c00 to your computer and use it in GitHub Desktop.
Save clifgriffin/534061f0a824b70efaa5d600dfd09c00 to your computer and use it in GitHub Desktop.
Fix infinite AJAX refresh when Invoice Payment Option is enabled with CheckoutWC
<?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