Файловый менеджер - Редактировать - /home/harasnat/www/horse/wp-content/plugins/cookie-law-info/lite/admin/modules/cache/services/class-borlabs-cache.php
Назад
<?php /** * Abstract class to handle all the modules on the plugin. * * @package CookieYes\Lite\Includes */ namespace CookieYes\Lite\Admin\Modules\Cache\Services; use CookieYes\Lite\Admin\Modules\Cache\Services\Services; if ( ! defined( 'ABSPATH' ) ) { exit; } /** * Class Module */ class Borlabs_Cache extends Services { /** * Load hooks of each plugin. * * @return void */ public function run() { $this->load_hooks(); } /** * Check if the the cache service is installed/active; * * @return boolean */ public function is_active() { return class_exists( \Borlabs\Cache\Frontend\Garbage::class ); } /** * Clear the cache if any. * * @return boolean */ public function clear_cache( $clear = true ) { if ( $clear === false ) { return; } if ( function_exists( \Borlabs\Cache\Frontend\Garbage::getInstance()->clearStylesPreCacheFiles() ) ) { \Borlabs\Cache\Frontend\Garbage::getInstance()->clearStylesPreCacheFiles(); } if ( function_exists( \Borlabs\Cache\Frontend\Garbage::getInstance()->clearCache() ) ) { \Borlabs\Cache\Frontend\Garbage::getInstance()->clearCache(); } } }
| ver. 1.4 |
Github
|
.
| PHP 8.1.33 | Генерация страницы: 0.03 |
proxy
|
phpinfo
|
Настройка