芝麻web文件管理V1.00
编辑当前文件:/home/ephorei/www/wp-content/plugins/ultimate-addons-for-gutenberg/classes/class-uagb-caching.php
purge_everything(); } } /** * This function helps to purge all cache in clodways envirnoment. * In presence of Breeze plugin (https://wordpress.org/plugins/breeze/) * * @since 2.11.0 * @return void */ public static function clear_cloudways_cache() { if ( ! class_exists( 'Breeze_Configuration' ) || ! class_exists( 'Breeze_CloudFlare_Helper' ) || ! class_exists( 'Breeze_Admin' ) ) { return; } // clear varnish cache. $admin = new Breeze_Admin(); $admin->breeze_clear_varnish(); // clear static cache. Breeze_Configuration::breeze_clean_cache(); Breeze_CloudFlare_Helper::reset_all_cache(); } } /** * Prepare if class 'UAGB_Caching' exist. * Kicking this off by calling 'get_instance()' method */ UAGB_Caching::get_instance();