[wp-hackers] Saving the entire HTML sent to client

Mike Schinkel mikeschinkel at newclarity.net
Thu Dec 8 02:22:31 UTC 2011


On Dec 7, 2011, at 9:18 PM, Haluk Karamete wrote:
> Would it be nice to have the option of doing something like this
> 
> $content = get_header()
> 
> Is this technically not possible?

Look at PHP's output buffering: 

http://www.php.net/manual/en/book.outcontrol.php

-Mike


More information about the wp-hackers mailing list