File: /wordpress/plugins/wp-cloud-client/1.1.8/wp-cloud-client.php
<?php
/**
* Plugin Name: WP Cloud Client
* Plugin URI: https://github.com/vplugins/wp-cloud-client
* Description: Secure execution agent for WP Host Websites microservice.
* Version: 1.1.8
* Requires PHP: 8.2
* Requires at least: 6.4
* Author: VPlugins
* Author URI: https://github.com/vplugins
* License: GPL-2.0-or-later
* License URI: https://www.gnu.org/licenses/gpl-2.0.html
* Text Domain: wp-cloud-client
*/
declare(strict_types=1);
defined('ABSPATH') || exit;
define('VPLUGINS_WPCC_VERSION', '1.1.8');
define('VPLUGINS_WPCC_FILE', __FILE__);
define('VPLUGINS_WPCC_PATH', plugin_dir_path(__FILE__));
define('VPLUGINS_WPCC_BASENAME', plugin_basename(__FILE__));
$autoloader = VPLUGINS_WPCC_PATH . 'vendor/autoload.php';
if (! file_exists($autoloader)) {
add_action('admin_notices', static function (): void {
echo '<div class="notice notice-error"><p>';
echo esc_html__('WP Cloud Client: Composer autoloader not found. Please run "composer install".', 'wp-cloud-client');
echo '</p></div>';
});
return;
}
require_once $autoloader;
\VPlugins\WPCloudClient\Plugin::instance()->boot();