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