Can anyone point me in the direction of the code I would need to remove components before the document renders?
For example, I am creating a plugin that will make full use of the right hand sidebar on a certain page. In order to do this I want to remove all current components that are in there.
To make it clear, I don't want to deactivate components, I know how to do that, I just want to stop them rendering on a certain page.
Any ideas?
Thanks!