woocommerce_maxmind_geolocation_display_notices filter-hookWC 3.9.0

Display MaxMind missing license key notice.

Usage

add_filter( 'woocommerce_maxmind_geolocation_display_notices', 'wp_kama_woocommerce_maxmind_geolocation_display_notices_filter' );

/**
 * Function for `woocommerce_maxmind_geolocation_display_notices` filter-hook.
 * 
 * @param  $true 
 *
 * @return 
 */
function wp_kama_woocommerce_maxmind_geolocation_display_notices_filter( $true ){

	// filter...
	return $true;
}
$true
-

Changelog

Since 3.9.0 Introduced.

Where the hook is called

WC_Admin_Notices::maxmind_missing_license_key_notice()
woocommerce_maxmind_geolocation_display_notices
WC_Integration_MaxMind_Geolocation::display_missing_license_key_notice()
woocommerce_maxmind_geolocation_display_notices
woocommerce/includes/admin/class-wc-admin-notices.php 528
$filter_dismissed_notice = ! apply_filters( 'woocommerce_maxmind_geolocation_display_notices', true );
woocommerce/includes/integrations/maxmind-geolocation/class-wc-integration-maxmind-geolocation.php 279
if ( ! apply_filters( 'woocommerce_maxmind_geolocation_display_notices', true ) ) {

Where the hook is used in WooCommerce

Usage not found.