woocommerce_db_update_schedule_delay хук-фильтрWC 9.9.0

Filters the delay in seconds to apply to the scheduling of database updates when automatic updates are enabled.

Использование

add_filter( 'woocommerce_db_update_schedule_delay', 'wp_kama_woocommerce_db_update_schedule_delay_filter' );

/**
 * Function for `woocommerce_db_update_schedule_delay` filter-hook.
 * 
 * @return 
 */
function wp_kama_woocommerce_db_update_schedule_delay_filter(){

	// filter...
	return ;
}

Список изменений

С версии 9.9.0 Введена.

Где вызывается хук

WC_Install::update()
woocommerce_db_update_schedule_delay
woocommerce/includes/class-wc-install.php 785
$scheduled_time_delay = absint( apply_filters( 'woocommerce_db_update_schedule_delay', 0 ) );

Где используется хук в WooCommerce

Использование не найдено.