woocommerce_maxmind_geolocation_display_notices
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
woocommerce_maxmind_geolocation_display_notices
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 ) ) {