芝麻web文件管理V1.00
编辑当前文件:/var/www/cognitio.in/wp-content/plugins/elementor/modules/performance-lab/module.php
performance_lab_get_webp_src( $value['id'], 'full', $value['url'] ); } return $value; } public function __construct() { parent::__construct(); if ( $this->is_performance_lab_is_active() ) { add_filter( 'elementor/files/css/property', function( $value, $css_property, $matches ) { return $this->replace_css_with_webp( $value, $css_property, $matches ); }, 10, 3 ); } if ( is_admin() ) { add_action( 'activated_plugin', function( $plugin ) { if ( 'performance-lab/load.php' === $plugin ) { Plugin::$instance->files_manager->clear_cache(); } } ); add_action( 'deactivated_plugin', function( $plugin ) { if ( 'performance-lab/load.php' === $plugin ) { Plugin::$instance->files_manager->clear_cache(); } } ); } } }