I'm currently working on an appcache plugin for WordPress. One thing that it should do is add a manifest reference in the
<html> tag of the site. It has to resemble something like this:
Is there any way of doing this programmatically within a plugin? My current idea would be to identify the
<html part of a theme's header file and inject the manifest using something like
str_replace(). However, I can't see a way of filtering the output of the
get_header() function either via the
get_header() action or
If anyone has any ideas I'd appreciate help.