Allows for the automatic database update to be disabled. Note that MaxMind's TOS requires that the databases be updated or removed periodically.
$bind_updater
Sortie :
@param bool $bind_updater Whether or not the database should be updated periodically.
// Modifier la valeur avec le filtre 'woocommerce_maxmind_geolocation_update_database_periodically'
add_filter('woocommerce_maxmind_geolocation_update_database_periodically', 'ma_fonction_filtre', 10, 1);
function ma_fonction_filtre($bind_updater) {
// Modifier la valeur
return $bind_updater;
}
Chargement des actualités...