403Webshell
Server IP : 69.39.225.240  /  Your IP : 216.73.216.138
Web Server : Apache
System : Linux bronze7.serverhost.net 3.10.0-1160.105.1.el7.x86_64 #1 SMP Thu Dec 7 15:39:45 UTC 2023 x86_64
User : reademotions ( 1074)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/reademotions/www/wp-content/plugins/w3-total-cache/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/reademotions/www/wp-content/plugins/w3-total-cache/Extension_ImageService_Plugin.php
<?php
/**
 * File: Extension_ImageService_Plugin.php
 *
 * @since 2.2.0
 *
 * @package W3TC
 *
 * phpcs:disable WordPress.WP.CronInterval
 */

namespace W3TC;

if ( ! defined( 'W3TC' ) ) {
	die();
}

/**
 * Extension_ImageService_Plugin
 *
 * @since 2.2.0
 */
class Extension_ImageService_Plugin {
	/**
	 * Image Service API object.
	 *
	 * @since 2.2.0
	 *
	 * @static
	 *
	 * @var Extension_ImageService_Api
	 */
	public static $api;

	/**
	 * Add hooks.
	 *
	 * @since 2.2.0
	 * @static
	 */
	public static function wp_loaded() {
		add_action(
			'w3tc_extension_load_admin',
			array(
				'\W3TC\Extension_ImageService_Plugin_Admin',
				'w3tc_extension_load_admin',
			)
		);

		// Cron event handling.
		require_once __DIR__ . '/Extension_ImageService_Cron.php';

		add_action(
			'w3tc_imageservice_cron',
			array(
				'\W3TC\Extension_ImageService_Cron',
				'run',
			)
		);

		add_filter(
			'cron_schedules',
			array(
				'\W3TC\Extension_ImageService_Cron',
				'add_schedule',
			)
		);

		Extension_ImageService_Cron::add_cron();
	}

	/**
	 * Get the Image Service API object.
	 *
	 * @since 2.2.0
	 *
	 * @return Extension_ImageService_Api
	 */
	public static function get_api() {
		if ( is_null( self::$api ) ) {
			require_once __DIR__ . '/Extension_ImageService_Api.php';
			self::$api = new Extension_ImageService_Api();
		}

		return self::$api;
	}
}

w3tc_add_action(
	'wp_loaded',
	array(
		'\W3TC\Extension_ImageService_Plugin',
		'wp_loaded',
	)
);

Youez - 2016 - github.com/yon3zu
LinuXploit