woocommerce_cancel_unpaid_orders_interval_minutes filter-hookWC 5.1.0

Determines the interval at which to cancel unpaid orders in minutes.

Usage

add_filter( 'woocommerce_cancel_unpaid_orders_interval_minutes', 'wp_kama_woocommerce_cancel_unpaid_orders_interval_minutes_filter' );

/**
 * Function for `woocommerce_cancel_unpaid_orders_interval_minutes` filter-hook.
 * 
 * @param  $absint 
 *
 * @return 
 */
function wp_kama_woocommerce_cancel_unpaid_orders_interval_minutes_filter( $absint ){

	// filter...
	return $absint;
}
$absint
-

Changelog

Since 5.1.0 Introduced.

Where the hook is called

WC_Install::create_cron_jobs()
woocommerce_cancel_unpaid_orders_interval_minutes
wc_cancel_unpaid_orders()
woocommerce_cancel_unpaid_orders_interval_minutes
wc_format_option_hold_stock_minutes()
woocommerce_cancel_unpaid_orders_interval_minutes
woocommerce/includes/class-wc-install.php 745
$cancel_unpaid_interval = apply_filters( 'woocommerce_cancel_unpaid_orders_interval_minutes', absint( $held_duration ) );
woocommerce/includes/wc-order-functions.php 994
$cancel_unpaid_interval = apply_filters( 'woocommerce_cancel_unpaid_orders_interval_minutes', absint( $held_duration ) );
woocommerce/includes/wc-formatting-functions.php 1188
$cancel_unpaid_interval = apply_filters( 'woocommerce_cancel_unpaid_orders_interval_minutes', absint( $value ) );

Where the hook is used in WooCommerce

Usage not found.