Created
October 23, 2025 11:27
-
-
Save rajeshsingh520/5f832e60b8a5c549974e52025a13815e to your computer and use it in GitHub Desktop.
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_action( 'wp_enqueue_scripts', function(){ | |
| if(function_exists('is_checkout') && is_checkout()){ | |
| wp_dequeue_script( 'wc-opayopi-dropin' ); | |
| wp_deregister_script( 'wc-opayopi-dropin' ); | |
| } | |
| }, PHP_INT_MAX ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment