Pure JavaScript loaded on every page
-
Dear Supporters,
the problem is that the plugin loads pure JavaScript into the footer using the “wc_enqueue_js” function in “woocommerce-gateway-paypal-express-checkout/includes/settings/settings-ppec.php” on line 53. That makes it impossible to remove the JavaScript for me via handlers and display it only on certain pages, without editing the plugin PHP files.
I would like to remove that JavaScript from pages other than the shop. So, how could I remove that JS, which is displayed on each on every page and control where it is outputed?
Best regards,
Chevallier
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘Pure JavaScript loaded on every page’ is closed to new replies.