woocommerce_order_is_paid_statuses filter-hookWC 3.0.0

Get list of statuses which are consider 'paid'.

Usage

add_filter( 'woocommerce_order_is_paid_statuses', 'wp_kama_woocommerce_order_is_paid_statuses_filter' );

/**
 * Function for `woocommerce_order_is_paid_statuses` filter-hook.
 * 
 * @param  $array 
 *
 * @return 
 */
function wp_kama_woocommerce_order_is_paid_statuses_filter( $array ){

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

Changelog

Since 3.0.0 Introduced.

Where the hook is called

wc_get_is_paid_statuses()
woocommerce_order_is_paid_statuses
woocommerce/includes/wc-order-functions.php 124
return apply_filters( 'woocommerce_order_is_paid_statuses', array( 'processing', 'completed' ) );

Where the hook is used in WooCommerce

Usage not found.