WC_Integration_MaxMind_Geolocation::add_missing_license_key_notice()privateWC 1.0

Add missing license key notice.

Method of the class: WC_Integration_MaxMind_Geolocation{}

No Hooks.

Return

null. Nothing (null).

Usage

// private - for code of main (parent) class only
$result = $this->add_missing_license_key_notice();

WC_Integration_MaxMind_Geolocation::add_missing_license_key_notice() code WC 8.9.0

private function add_missing_license_key_notice() {
	if ( ! class_exists( 'WC_Admin_Notices' ) ) {
		include_once WC_ABSPATH . 'includes/admin/class-wc-admin-notices.php';
	}
	WC_Admin_Notices::add_notice( 'maxmind_license_key' );
}