WC_Order::is_paid()publicWC 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

Return

true|false.

Usage

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

Changelog

Since 2.5.0 Introduced.

WC_Order::is_paid() code WC 8.7.0

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