woocommerce_enable_auto_update_db хук-фильтр . WC 3.2.0
See if we need to show or run database updates during install.
Использование
add_filter( 'woocommerce_enable_auto_update_db', 'filter_function_name_2912' ); function filter_function_name_2912( $false ){ // filter... return $false; }
- $false
- -
Список изменений
С версии 3.2.0 | Введена. |
Где вызывается хук
woocommerce_enable_auto_update_db
woocommerce/includes/class-wc-install.php 430
if ( apply_filters( 'woocommerce_enable_auto_update_db', false ) ) {