HEX
Server: nginx
System: Linux pool195-106-36.bur.atomicsites.net 6.12.57+deb12-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.57-1~bpo12+1 (2025-11-17) x86_64
User: (0)
PHP: 8.3.32
Disabled: pcntl_fork
Upload Files
File: /wordpress/mu-plugins/wpcloud-bot-protection-loader.php
<?php

if ( ! function_exists( 'wpcloud_bot_protection_loader' ) ) {
	function wpcloud_bot_protection_loader() {
		$should_load = defined( 'WPC_BOT_PROTECTION_ENABLED' ) && (bool) WPC_BOT_PROTECTION_ENABLED
			&& defined( 'ATOMIC_SITE_ID' ) && '' !== (string) constant( 'ATOMIC_SITE_ID' )
			&& defined( 'ATOMIC_SITE_API_KEY' ) && '' !== (string) constant( 'ATOMIC_SITE_API_KEY' );

		$should_load = apply_filters( 'wpcloud_bot_protection_enable', $should_load );

		if ( $should_load ) {
			$main = __DIR__ . '/wpcloud-bot-protection/wpcloud-bot-protection.php';
			if ( file_exists( $main ) ) {
				require_once $main;
			}
		}
	}
	add_action( 'muplugins_loaded', 'wpcloud_bot_protection_loader' );
}