Flush Cache With PHP Code (Api)
-
Hey guys,
I’m trying to flush all cache with php code.include("wp-content/plugins/w3-total-cache/w3-total-cache-api.php"); if (function_exists('w3tc_flush_all')) { w3tc_flush_all(); }This is the code but for some reason it’s not working, i tried to echo inside condition but no output..
What is the reason?Thanks.
The topic ‘Flush Cache With PHP Code (Api)’ is closed to new replies.