Exclude JS file with a filter?
-
Hi,
A plugin that I maintain ( WP Store Locator ) breaks when the Autoptimize plugin is enabled.
I’m aware users can exclude files themselves, or include ‘?ao_noptimize=1’ in the URL, but I was hoping there’s a filter / other way for me to include a few lines of code in my plugin that then automatically tells the Autoptimize plugin which file to exclude.
I found this line in the code, and maybe adding a filter on that line would solve it?
It would also allow developers from other plugin that break when autoptimize is active to add their files automatically to the excluded list without having to tell the users to add it themselves.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Exclude JS file with a filter?’ is closed to new replies.