[wp-hackers] Adding an output buffer callback

Andrew Nacin anacin at gwhatchet.com
Mon Nov 2 07:12:28 UTC 2009


>
> I want to improve this by preg_match_replace-ing the whole page output.
>

The solution to your problem isn't using output buffering to generate a lot
of obtrusive JavaScript. Have you considered unobtrusive JavaScript? That
would rather clearly make the most sense here.


More information about the wp-hackers mailing list