WC_Admin_Notices::add_maxmind_missing_license_key_notice
Previously added a MaxMind missing license key notice.
MaxMind geolocation status is now shown in Site Health.
Method of the class: WC_Admin_Notices{}
No Hooks.
Returns
void. Nothing (null).
Usage
$result = WC_Admin_Notices::add_maxmind_missing_license_key_notice();
Changelog
| Since 3.9.0 | Introduced. |
WC_Admin_Notices::add_maxmind_missing_license_key_notice() WC Admin Notices::add maxmind missing license key notice code WC 11.1.2
public static function add_maxmind_missing_license_key_notice() {
self::remove_notice( 'maxmind_license_key' );
}