CFGP_DISABLE_NOTIFICATION

CFGP_DISABLE_NOTIFICATION – Disable all Geo Controller e-mail notifications. This constant tells the Geo Controller to not send notifications via email.

Geo Controller notifies all administrators of the WordPress site about the expiration of the license, lookup limit and other important things related to the functioning of the plugin.

This is an automatically generated message that comes directly from your site sent by an automated system within the Geo Controller.

Since we considered this option that is very important, we did not allow the notification system to be shut down from the Settings page. But we enabled the exclusion of notifications using athis constant.

Source

File: /cf-geoplugin/globals/cf-geoplugin-setup.php

if(!defined('CFGP_DISABLE_NOTIFICATION'))
{
	define('CFGP_DISABLE_NOTIFICATION', false);
}

Example

These constant can be modified within your wp-config.php file:

define('CFGP_DISABLE_NOTIFICATION', true);

Additional options: Disable Individual Notifications in Geo Controller

If you only want to disable individual notifications in Geo Controller, you have additional constants that you can add to wp-config.php instead of CFGP_DISABLE_NOTIFICATION

// Disable notification for the "License will expire soon"
define('CFGP_DISABLE_NOTIFICATION_EXPIRE_SOON', true);

// Disable notification for the "Lookup expired"
define('CFGP_DISABLE_NOTIFICATION_LOOKUP_EXPIRED', true);

// Disable notification for the "Lookup expires soon"
define('CFGP_DISABLE_NOTIFICATION_LOOKUP_EXPIRE_SOON', true);

YOU MUST KNOW

If you disable sending notifications via e-mail address, you risk having your license or lookup expired without being notified. This can create serious problems in your project.

Was this page helpful?