woocommerce_maxmind_geolocation_update_database_periodically

woocommerce_maxmind_geolocation_update_database_periodically

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.9.3.3

apply_filters('woocommerce_maxmind_geolocation_update_database_periodically') is found 1 times:

  • /includes/integrations/maxmind-geolocation/class-wc-integration-maxmind-geolocation.php line 75
    		 *
    		 * @since 3.9.0
    		 * @param bool $bind_updater Whether or not the database should be updated periodically.
    		 */
    		$bind_updater = apply_filters( 'woocommerce_maxmind_geolocation_update_database_periodically', $bind_updater );
    
    		// Bind to the scheduled updater action.
    		if ( $bind_updater ) {
    			add_action( 'woocommerce_geoip_updater', array( $this, 'update_database' ) );
    		}