[wp-hackers] is there a hook firing right after the </html>?
Haluk Karamete
halukkaramete at gmail.com
Mon Feb 2 05:09:08 UTC 2015
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
transient.
and for this goal, I set the "ob_buffer" using the get_header() action hook.
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" ?
More information about the wp-hackers
mailing list