wc_get_is_pending_statuses()WC 3.6.0

Get list of statuses which are consider 'pending payment'.

Hooks from the function

Return

Array.

Usage

wc_get_is_pending_statuses();

Changelog

Since 3.6.0 Introduced.

wc_get_is_pending_statuses() code WC 9.4.2

function wc_get_is_pending_statuses() {
	return apply_filters( 'woocommerce_order_is_pending_statuses', array( 'pending' ) );
}