wc_update_390_change_geolocation_database_update_cron()

So that we can best meet MaxMind’s TOS, the geolocation database update cron should run once per 15 days.


Description Description


Source Source

File: includes/wc-update-functions.php

function wc_update_390_change_geolocation_database_update_cron() {
	wp_clear_scheduled_hook( 'woocommerce_geoip_updater' );
	wp_schedule_event( time() + ( DAY_IN_SECONDS * 15 ), 'fifteendays', 'woocommerce_geoip_updater' );
}

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.