woocommerce_db_update_schedule_delay

woocommerce_db_update_schedule_delay

Appears in:
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.9.9.5

apply_filters('woocommerce_db_update_schedule_delay') is found 1 times:

  • /includes/class-wc-install.php line 785
    			 * @since 9.9.0
    			 *
    			 * @param int $delay Delay to add (in seconds). Default is 0 (updates will run as soon as possible).
    			 */
    			$scheduled_time_delay = absint( apply_filters( 'woocommerce_db_update_schedule_delay', 0 ) );
    
    			if ( $scheduled_time_delay > 0 ) {
    				wc_get_logger()->info(
    					sprintf( '  Updates will begin running in approximately %s.', human_time_diff( 0, $scheduled_time_delay ) ),
    					array( 'source' => 'wc-updater' )
    				);