WordPress at Your Fingertips
function is not described

WC_Integration_MaxMind_Geolocation::add_missing_license_key_notice() private WC 1.0

Add missing license key notice.

{} It's a method of the class: WC_Integration_MaxMind_Geolocation{}

No Hooks.

Return

null. Nothing.

Usage

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

Code of WC_Integration_MaxMind_Geolocation::add_missing_license_key_notice() WC 5.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' );
}