Dequeue all CSS (1 post)

  1. sccr410
    Posted 2 years ago #

    I have a plugin that creates a new page in WP. When this page is accessed, it will completely ignore the theme's header/footer and use it's own (for very good reasons, but users do have the option to do this or use their theme's header/footer).

    Some themes properly enqueue CSS files. My custom header also makes use of wp_head function so all the theme's CSS files are being used and messing with my plugin's CSS.

    Is there a way to dequeue ALL CSS files, then I can enqueue mine?

Topic Closed

This topic has been closed to new replies.

About this Topic