2018-09-20, 01:02:53
you can use my hook components plugin and add a hook on any front end hook and do a
(add some slug specific checking here or querystring, so the file check does not run constantly)
if(!file_exists( GSROOTPATH .GSSITEMAPFILE)) generate_sitemap();
Then delete sitemap and visit front end ( assuming plugins are that use sitemap filter and hooks are still running on frontend also) it should work.
(add some slug specific checking here or querystring, so the file check does not run constantly)
if(!file_exists( GSROOTPATH .GSSITEMAPFILE)) generate_sitemap();
Then delete sitemap and visit front end ( assuming plugins are that use sitemap filter and hooks are still running on frontend also) it should work.