Intercepting Events Before W3 Total Cache Engages
-
I am writing a plugin where I want to read user agent and send custom headers back on certain agents. Unfortunately however several people have the W3 Total Cache plugin and what it’s doing is that, when I have a condition that sends back the custom header, it then sends back that custom header for ALL user agents, not running my event logic. I tried to load my event with…
add_action('plugins_loaded','MY_PLUGIN::checkRules',-1400000000);
…but W3 Total Cache intercepts via .htaccess or by some other mechanism. Unfortunately I have to do it at the plugins_loaded level because I need to query get_option.
How can I make my plugin work even if W3 Total Cache is engaged?
- The topic ‘Intercepting Events Before W3 Total Cache Engages’ is closed to new replies.