Turning on output buffering in a wordpress plugin
Although I realise this is probably not the right way to go about it, I managed to turn on output buffering using the following code in my plugin: add_action(‘init’, ‘rsq_buffering’); function rsq_buffering() { ob_start(); } I probably should be doing any session stuff from within the init hook instead of just all over the place.