LLMS_Voucher::check_voucher( string $code )

Determine if a voucher is valid


Description Description


Parameters Parameters

$code

(Required) Voucher code.


Top ↑

Return Return

(WP_Error|object) WP_Error if invalid or not redeemable OR a voucher data object.


Top ↑

Source Source

File: includes/class.llms.voucher.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
3.37.17 Ensure the code's parent post is published.
3.0.0 Unknown.
2.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.