[wp-hackers] is there a hook firing right after the </html>?

Otto otto at ottodestruct.com
Mon Feb 2 23:26:48 UTC 2015


On Mon, Feb 2, 2015 at 5:02 PM, Nikola Nikolov <nikolov.tmw at gmail.com>
wrote:

> Quote from
> http://php.net/manual/en/function.register-shutdown-function.php
> :
>
> "The shutdown callbacks are executed as the part of the request, so it's
> possible to send output from them and access output buffers."
>
> Nikola
>
>

Yes, my knowledge might be out of date on that one. From lower in the page
it seems that that behavior may have changed between PHP 5.0 and 5.1. In
which case output buffers would be accessible from shutdown callbacks.

-Otto


More information about the wp-hackers mailing list