Is there a function to replace the active theme's stylesheet with a different one (not just adding a new one, but actually replacing the current one)?
I'm developing a plugin, and using shortcodes (eg: [design style="dark"]) and I want this shortcode to remove the current stylesheet and apply a new one, along with new HTML for the page as well.
In fact, I want this shortcode to completely replace all of the source code for that specific post.
Can anybody point me in the right direction? Thanks in advance.