woocommerce_db_update_schedule_delay filter-hookWC 9.9.0

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

Usage

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 ;
}

Changelog

Since 9.9.0 Introduced.

Where the hook is called

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

Where the hook is used in WooCommerce

Usage not found.