[wp-hackers] is there a hook firing right after the </html>?
wp at andrewnacin.com
Mon Feb 2 20:50:51 UTC 2015
Output buffer callbacks are automatically called at the conclusion of the
There is a 'shutdown' hook that fires on a shutdown handler that you can
On Mon, Feb 2, 2015 at 12:09 AM, Haluk Karamete <halukkaramete at gmail.com>
> I need to run ob_get_clean() as soon as the get_footer() is done running -
> meaning as soon as the </html> is outputted.
> What hook can I use for that?
> more insight on why do I need that?
> the goal is to put the generated html ( from <doctype to </html> ) into a
> and for this goal, I set the "ob_buffer" using the get_header() action
> but that's only half of the deal...
> I still need to catch the buffer when i am done with the full page -
> meaning when I am done wirth outputting the </html>
> is there a hook such as "after_get_footer" ?
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
More information about the wp-hackers