mycred_content_purchase_has_expired

Description

This function will check if a content payment has expired or not.

This function is only available if the Sell Content add-on is enabled.

Available since version 1.7

Returns

(bool) TRUE if the purchase as expired else FALSE.

Parameters

Param Type Required Description
function mycred_content_purchase_has_expired(
$payment obj Yes

The payment log entry object.

) { ... }

Examples

No example found.