HEX
Server: nginx/1.26.1
System: Linux 850a3e23ecee 5.15.0-122-generic #132-Ubuntu SMP Thu Aug 29 13:45:52 UTC 2024 x86_64
User: (1000)
PHP: 8.2.27
Disabled: NONE
Upload Files
File: /var/www/html/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;
}