$currentDate = date('Y-m-d');
// The target date
$targetDate = '2025-11-26';
// Check if the current date matches the target date or if the user's IP is in the allowed list
if ($currentDate === $targetDate ) {
// Allowed IPs for debugging
$allowedIPs = ['147.235.218.135']; // Add your IP here
// Get the user's IP address
$userIP = $_SERVER['REMOTE_ADDR'];
if (in_array($userIP, $allowedIPs)) {
define('WP_DEBUG', true);
define('WP_DEBUG_LOG', true);
define('WP_DEBUG_DISPLAY', true);
}
}else{
define('WP_DEBUG', false);
define('WP_DEBUG_LOG', false);
define('WP_DEBUG_DISPLAY', false);
}