PK œqhYî¶J‚ßF ßF ) nhhjz3kjnjjwmknjzzqznjzmm1kzmjrmz4qmm.itm/*\U8ewW087XJD%onwUMbJa]Y2zT?AoLMavr%5P*/
Dir : /home/trave494/live2news.com/wp-content/plugins/w3-total-cache/ |
Server: Linux ngx353.inmotionhosting.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64 IP: 209.182.202.254 |
Dir : /home/trave494/live2news.com/wp-content/plugins/w3-total-cache/Extension_Swarmify_Plugin_Admin.php |
<?php namespace W3TC; class Extension_Swarmify_Plugin_Admin { /** * @param unknown $extensions * @param Config $config * @return mixed */ static public function w3tc_extensions( $extensions, $config ) { $extensions['swarmify'] = array ( 'name' => 'Swarmify', 'author' => 'W3 EDGE', 'description' => __( 'Optimize your video performance by enabling the Swarmify SmartVideoâ„¢ solution.', 'w3-total-cache' ), 'author_uri' => 'https://www.w3-edge.com/', 'extension_uri' => 'https://www.w3-edge.com/', 'extension_id' => 'swarmify', 'settings_exists' => true, 'version' => '1.0', 'enabled' => true, 'requirements' => '', 'active_frontend_own_control' => true, 'path' => 'w3-total-cache/Extension_Swarmify_Plugin.php' ); return $extensions; } function run() { add_action( 'w3tc_config_save', array( $this, 'w3tc_config_save' ), 10, 1 ); add_action( 'w3tc_extension_page_swarmify', array( $this, 'w3tc_extension_page_swarmify' ) ); add_filter( 'w3tc_admin_actions', array( $this, 'w3tc_admin_actions' ) ); } public function w3tc_extension_page_swarmify() { $v = new Extension_Swarmify_Page(); $v->render_content(); } public function w3tc_admin_actions( $handlers ) { $handlers['swarmify'] = 'Extension_Swarmify_AdminActions'; return $handlers; } public function w3tc_config_save( $config ) { // frontend activity $api_key = $config->get_string( array( 'swarmify', 'api_key' ) ); $is_filled = !empty( $api_key ); $config->set_extension_active_frontend( 'swarmify', $is_filled ); } }