woocommerce_maxmind_geolocation_database_path

FILTER woocommerce\includes\integrations\maxmind-geolocation\class-wc-integration-maxmind-database-service.php (ligne 78) github
Filter the geolocation database storage path.

Paramètres

Entrée :
$database_path
Sortie :
@param string $database_path The path to the database.

Utilisation

// Modifier la valeur avec le filtre 'woocommerce_maxmind_geolocation_database_path'
add_filter('woocommerce_maxmind_geolocation_database_path', 'ma_fonction_filtre', 10, 1);

function ma_fonction_filtre($database_path) {
    // Modifier la valeur
    return $database_path;
}

Actualités

Chargement des actualités...