Problem in manual minify mode when a plugin uses the filter ‘template_include’
-
With respect to JavaScript file minification I have written a tool for automatically generating W3TC JSON configuration files. It works by modifying the value of ‘minify.js.groups’ to the ordered list of JavaScript files that it observed as WordPress emitted the HTML script elements. This works except when a plugin uses the ‘template_include’ filter to load a template from the plugin’s directory instead of a template from the theme’s directory. It appears to me that W3TC in manual minify mode cannot handle templates loaded by the filter ‘template_include’. Is this true and is there a workaround?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Problem in manual minify mode when a plugin uses the filter ‘template_include’’ is closed to new replies.