WC_Order::is_paid()
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() WC Order::is paid code WC 7.5.1
public function is_paid() { return apply_filters( 'woocommerce_order_is_paid', $this->has_status( wc_get_is_paid_statuses() ), $this ); }