wc_get_is_paid_statuses()WC 3.0.0

Get list of statuses which are consider 'paid'.

Hooks from the function

Returns

Array.

Usage

wc_get_is_paid_statuses();

Changelog

Since 3.0.0 Introduced.

wc_get_is_paid_statuses() code WC 10.7.0

function wc_get_is_paid_statuses() {
	/**
	 * Filter the list of statuses which are considered 'paid'.
	 *
	 * @since 3.0.0
	 *
	 * @param array $statuses List of statuses.
	 */
	return apply_filters( 'woocommerce_order_is_paid_statuses', array( OrderStatus::PROCESSING, OrderStatus::COMPLETED ) );
}