| Server IP : 185.208.173.17 / Your IP : 87.236.161.98 Web Server : Microsoft-IIS/10.0 System : Windows NT SRV8576125506 10.0 build 26100 (Windows Server 2016) AMD64 User : IUSR ( 0) PHP Version : 7.4.13 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/inetpub/wwwroot/panel.parsmega.com/wp-content/plugins/wp-rest-cache/ |
Upload File : |
<?php
/**
* The plugin bootstrap file
*
* @link: https://www.acato.nl
* @since 2018.1
* @package WP_Rest_Cache_Plugin
*
* @wordpress-plugin
* Plugin Name: WP REST Cache
* Plugin URI: https://www.acato.nl
* Description: Adds caching to the WP REST API
* Version: 2026.1.1
* Author: Acato
* Author URI: https://www.acato.nl
* Text Domain: wp-rest-cache
* License: GPLv3
* License URI: http://www.gnu.org/licenses/gpl.html
* Requires at least: 4.7
* Requires PHP: 7.0
*/
// If this file is called directly, abort.
if ( ! defined( 'WPINC' ) ) {
die;
}
require_once plugin_dir_path( __FILE__ ) . DIRECTORY_SEPARATOR . 'includes' . DIRECTORY_SEPARATOR . 'class-autoloader.php';
spl_autoload_register( [ '\WP_Rest_Cache_Plugin\Includes\Autoloader', 'autoload' ] );
/**
* The code that runs during plugin activation.
* This action is documented in includes/class-wp-rest-cache-activator.php
*/
register_activation_hook( __FILE__, [ '\WP_Rest_Cache_Plugin\Includes\Activator', 'activate' ] );
/**
* The code that runs during plugin deactivation.
* This action is documented in includes/class-wp-rest-cache-deactivator.php
*/
register_deactivation_hook( __FILE__, [ '\WP_Rest_Cache_Plugin\Includes\Deactivator', 'deactivate' ] );
/**
* Begins execution of the plugin.
*/
new \WP_Rest_Cache_Plugin\Includes\Plugin();