public static function method_clear_cache() { if (HeadwayCompiler::flush_cache(true) && HeadwayBlocks::clear_block_actions_cache()) { echo 'success'; } else { echo 'failure'; } }