I'm building a plugin that loads iframes to display some content. I have specific scripts & styles for that content and would thus like to ignore the active theme when loading those templates; both to save loading time & to avoid CSS conflicts.
I know it is possible to dequeue all scripts & styles using the wp_enqueue_scripts and wp_enqueue_scripts hooks.
Thing is, as my plugin do also queue some scripts and styles, it would be cleaner to find a way to disable the current theme uphill rather than to quibble to unload some files and not others.
SO: is it possible to ignore / unload the current theme on certain pages / templates ?
Thanks