WC_Order::is_paid() public WC 2.5.0
Returns if an order has been paid for based on the order status.
{} It's a 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. |
Code of WC_Order::is_paid() WC Order::is paid WC 5.0.0
public function is_paid() {
return apply_filters( 'woocommerce_order_is_paid', $this->has_status( wc_get_is_paid_statuses() ), $this );
}