We've moved the MaxMind database to a new location, as per the TOS' requirement that the database not be publicly accessible.
WP_CONTENT_DIR . '/uploads/GeoLite2-Country.mmdb', 2
Sortie :
// Modifier la valeur avec le filtre 'woocommerce_geolocation_local_database_path'
add_filter('woocommerce_geolocation_local_database_path', 'ma_fonction_filtre', 10, 1);
function ma_fonction_filtre(WP_CONTENT_DIR . '/uploads/GeoLite2-Country.mmdb') {
// Modifier la valeur
return WP_CONTENT_DIR . '/uploads/GeoLite2-Country.mmdb';
}
Chargement des actualités...