w3tc_pgcache_flush_post not working
-
Hi
I can’t get w3tc_pgcache_flush_post() to work in functions.php.
w3tc_pgcache_flush() works fine, but w3tc_pgcache_flush_post() wont work.
My code is
function clearCache($post_ID) { if (function_exists('w3tc_pgcache_flush_post')) { w3tc_pgcache_flush_post($_POST['ID']); } } add_action('save_post', 'clearCache');
Am I doing something wrong?
Thanks, Martin
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘w3tc_pgcache_flush_post not working’ is closed to new replies.