woocommerce_maxmind_geolocation_database_path хук-фильтр . WC 3.9.0
Filter the geolocation database storage path.
Использование
add_filter( 'woocommerce_maxmind_geolocation_database_path', 'filter_function_name_9265' ); function filter_function_name_9265( $database_path ){ // filter... return $database_path; }
- $database_path(строка)
- The path to the database.
Список изменений
С версии 3.9.0 | Введена. |
Где вызывается хук
woocommerce_maxmind_geolocation_database_path
woocommerce_maxmind_geolocation_database_path
woocommerce/includes/integrations/maxmind-geolocation/class-wc-integration-maxmind-database-service.php 78
return apply_filters( 'woocommerce_maxmind_geolocation_database_path', $database_path );
woocommerce/includes/wc-update-functions.php 2086
$new_path = apply_filters( 'woocommerce_maxmind_geolocation_database_path', $new_path );