rcp_payment_status_label

Note: This is part of the developer docs and is considered custom code.
Unfortunately, we cannot provide support for custom code at this time as we do not have the additional resources that would be necessary to provide support for custom code.

If you need assistance with this, please reach out to our list of consultants for further assistance:
https://codeable.io/developers/restrict-content-pro/
Filters the label for a payment’s status (i.e. “Complete”, “Pending”, etc). This label is displayed in the payments table in the [subscription_details] shortcode, the invoice for the payment, and the admin payments table in Restrict > Payments.
Parameters:

$label (string) – The label to be displayed, i.e. “Complete”, “Pending”, or “Refunded”.

$status (string) – The payment’s status (i.e. “complete”, “pending”, or “refunded”).

$payment (object) – The payment object from the database.

Have more questions?

Submit a request