Flush all cache on ACF options page update
-
Hi!
I’m having issues setting up automatic cache flush on ACF options page update. Below is the code i’m using, but it is returning NULL on the $w3_plugin_totalcache->flush_al function.
function tj_flush_w3tc_cache() { $w3_plugin_totalcache->flush_all(); } add_action('acf/save_post', 'tj_flush_w3tc_cache', 20);
Thank you for your suggestions.
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘Flush all cache on ACF options page update’ is closed to new replies.