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