This constant adjusts the functionality of the Geo Controller to adapt for the
WordPress Multisite architecture.
Generally, this constant should not be changed, it automatically adjusts to the WordPress architecture but due to possible conflicts with other plugins, we left it optional.
Source
Defined in: /cf-geoplugin/constants.php
if (!defined('CFGP_MULTISITE') && defined('WP_ALLOW_MULTISITE') && WP_ALLOW_MULTISITE) { define('CFGP_MULTISITE', WP_ALLOW_MULTISITE); } else if (!defined('CFGP_MULTISITE')) { // New safer approach if (!function_exists('is_plugin_active_for_network')) { include ABSPATH . '/wp-admin/includes/plugin.php'; } define('CFGP_MULTISITE', is_plugin_active_for_network(CFGP_ROOT . '/cf-geoplugin.php')); }
How to change
You can manually define this constant in your
wp-config.php file before WordPress loads the plugin.
// Manually force Geo Controller into multisite mode define('CFGP_MULTISITE', true);
Note: This value should only be changed if you are certain it conflicts with your setup. Incorrect value may cause plugin instability in multisite environments.