Don’t load the theme for a page FROM a plugin

I’m developing a pseudo admin area for my client and they don’t want the theme overlaid on it, rather have their admin area take up 100% of the page. Normally I would add if (!is_page($id)) and be done with it however this admin area is part of a plugin that will be used on multiple sites and I would rather not be adding that line of code to every site that is created with this plugin.

Essentially, is there a function akin to use_theme(false) that I can use as part of my plugins shortcode?

Read more here: Don’t load the theme for a page FROM a plugin

Leave a Reply

Your email address will not be published. Required fields are marked *