woocommerce_maxmind_geolocation_update_database_periodically хук-фильтр . WC 3.9.0
Allows for the automatic database update to be disabled. Note that MaxMind's TOS requires that the databases be updated or removed periodically.
Использование
add_filter( 'woocommerce_maxmind_geolocation_update_database_periodically', 'filter_function_name_884' ); function filter_function_name_884( $bind_updater ){ // filter... return $bind_updater; }
- $bind_updater(true/false)
- Whether or not the database should be updated periodically.
Список изменений
С версии 3.9.0 | Введена. |
Где вызывается хук
woocommerce_maxmind_geolocation_update_database_periodically
woocommerce/includes/integrations/maxmind-geolocation/class-wc-integration-maxmind-geolocation.php 75
$bind_updater = apply_filters( 'woocommerce_maxmind_geolocation_update_database_periodically', $bind_updater );