Support » Plugins and Hacks » Hacks » Stopping theme header

Stopping theme header

  • Hi all

    In the WordPress backend, you can send a URL with the GET variable noheader to exclude the header being outputted to the buffer. This is useful for anything requiring no output before your code, such as AJAX, setting cookies, etc.

    Is there an equivalent in the front end? I need to set cookies at certain URLs my plugin is hooking into, but obviously can’t now as headers are already sent by buffers being outputted.

    Can anyone give me some direction?

  • The topic ‘Stopping theme header’ is closed to new replies.