woocommerce_maxmind_geolocation_database_path
Filter the geolocation database storage path.
Использование
add_filter( 'woocommerce_maxmind_geolocation_database_path', 'wp_kama_woocommerce_maxmind_geolocation_database_path_filter' ); function wp_kama_woocommerce_maxmind_geolocation_database_path_filter( $database_path ){ // filter... return $database_path; }
- $database_path(строка)
- The path to the database.
Список изменений
С версии 3.9.0 | Введена. |
Где вызывается хук
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 );