| Server IP : 172.67.131.151 / Your IP : 104.23.243.242 Web Server : Apache System : Linux keen-cori.18-142-40-148.plesk.page 5.15.0-1084-aws #91~20.04.1-Ubuntu SMP Fri May 2 06:59:36 UTC 2025 x86_64 User : simottodesign.com_2tntp341vs7 ( 10011) PHP Version : 8.3.31 Disable Function : opcache_get_status MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /var/www/vhosts/simottodesign.com/httpdocs/wp-content/plugins/custom-php-settings/ |
Upload File : |
<?php
/**
* Plugin Name: Custom PHP settings
* Plugin URI: https://wordpress.org/plugins/custom-php-settings/
* Description: Customize PHP settings.
* Version: 1.4.3.1
* Requires at least: 3.1.0
* Requires PHP: 5.4
* Author: Cyclonecode
* Author URI: https://stackoverflow.com/users/1047662/cyclonecode?tab=profile
* Copyright: Cyclonecode
* License: GPLv2 or later
* License URI: https://www.gnu.org/licenses/gpl-2.0.html
* Text Domain: custom-php-settings
* Domain Path: /languages
*
* @package custom-php-settings
* @author custom-php-settings
*/
namespace CustomPhpSettings;
require_once __DIR__ . '/vendor/autoload.php';
use CustomPhpSettings\Backend\Backend;
add_action('plugins_loaded', function () {
if (is_admin()) {
Backend::getInstance();
}
});
register_activation_hook(__FILE__, array('CustomPhpSettings\Backend\Backend', 'activate'));
register_deactivation_hook(__FILE__, array('CustomPhpSettings\Backend\Backend', 'deActivate'));
register_uninstall_hook(__FILE__, array('CustomPhpSettings\Backend\Backend', 'delete'));