manually clear W3 Total Cache code example Example: w3 total cache clear cache programmatically <?php $w3_plugin_totalcache->flush_all(); ?>