HEX
Server: Apache
System: Linux cp4.skywebbox.com 5.14.0-503.15.1.el9_5.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Nov 28 07:25:19 EST 2024 x86_64
User: alfouzantranspor (1054)
PHP: 8.3.23
Disabled: exec,passthru,shell_exec,system
Upload Files
File: /home/alfouzantranspor/www/wp-content/plugins/disable-emails/mu-plugin/disable-emails-mu.php
<?php
/*
Plugin Name: Disable Emails Must Use
Plugin URI: https://shop.webaware.com.au/downloads/disable-emails/
Description: make the Disable Emails plugin must-use
Version: 1.0.0
Author: WebAware
Author URI: https://shop.webaware.com.au/
*/

if (!defined('WP_PLUGIN_DIR') || !is_dir(WP_PLUGIN_DIR)) {
	exit;
}

$disable_emails_plugin = wp_normalize_path(WP_PLUGIN_DIR . '/disable-emails/disable-emails.php');

if (is_readable($disable_emails_plugin)) {
	define('DISABLE_EMAILS_MU_PLUGIN', '1.0.0');
	include_once $disable_emails_plugin;
}