WC_Order::is_paidpublicWC 2.5.0

Returns if an order has been paid for based on the order status.

Method of the class: WC_Order{}

Hooks from the method

Returns

true|false.

Usage

$WC_Order = new WC_Order();
$WC_Order->is_paid();

Changelog

Since 2.5.0 Introduced.

WC_Order::is_paid() code WC 10.4.3

public function is_paid() {
	return apply_filters( 'woocommerce_order_is_paid', $this->has_status( wc_get_is_paid_statuses() ), $this );
}