Unload CSS & JS
-
Hello,
Could someone tell me how to unload all the CSS and JS files enqueued by the plugin?I’m planning on manually loading them later but I can’t seem to unload them no matter what I do…
So far I’ve found their handles for my site (ABHfrontend.min.js, ABHfrontend.min.css and ABHhidedefault.min.css) and tried using
wp_dequeue_styleandwp_deregister_style(and the script equivalents) inwp_head,wp_enqueue_scriptsandwp_print_styles(also tried with different priorities)…
I’ve also tried unloading them through the Asset Manager plugin but it didn’t work as well (which is the first time I’ve seen it fail)…Not sure what I’m doing wrong so I’d appreciate some help.
Thanks in advance!
The topic ‘Unload CSS & JS’ is closed to new replies.