WordPress at a glance
function is not described

wc_format_option_hold_stock_minutes() WC 1.0

Formats hold stock option and sets cron event up.

Return

String. Nothing.

Usage

wc_format_option_hold_stock_minutes( $value, $option, $raw_value );
$value(string) (required)
Option value.
$option(array) (required)
Option name.
$raw_value(string) (required)
Raw value.

Code of wc_format_option_hold_stock_minutes() WC 5.3.0

<?php
function wc_format_option_hold_stock_minutes( $value, $option, $raw_value ) {
	$value = ! empty( $raw_value ) ? absint( $raw_value ) : ''; // Allow > 0 or set to ''.

	wp_clear_scheduled_hook( 'woocommerce_cancel_unpaid_orders' );

	if ( '' !== $value ) {
		$cancel_unpaid_interval = apply_filters( 'woocommerce_cancel_unpaid_orders_interval_minutes', absint( $value ) );
		wp_schedule_single_event( time() + ( absint( $cancel_unpaid_interval ) * 60 ), 'woocommerce_cancel_unpaid_orders' );
	}

	return $value;
}