edd_get_payment_status( $payment, bool $return_label = false )
Get Payment Status
Description Description
Parameters Parameters
-
(Required) WP_Post|EDD_Payment|Payment ID $payment Payment post object, EDD_Payment object, or payment/post ID
- $return_label
-
(Optional) Whether to return the payment status or not
Default value: false
Return Return
(bool|mixed) if payment status exists, false otherwise
Source Source
File: includes/payments/functions.php
Changelog Changelog
Version | Description |
---|---|
1.0 | Introduced. |