WC_Order::is_paid()
Returns if an order has been paid for based on the order status.
Description Description
Return Return
(bool)
Source Source
File: includes/class-wc-order.php
public function is_paid() { return apply_filters( 'woocommerce_order_is_paid', $this->has_status( wc_get_is_paid_statuses() ), $this ); }
Changelog Changelog
Version | Description |
---|---|
2.5.0 | Introduced. |