LLMS_Controller_Account::redeem_voucher()
Redeem a voucher from the “Redeem Voucher” endpoint of the student dashboard
Description Description
Return Return
(null|true|WP_Error) Returns null
when the form hasn't been submitted, there's a nonce error, or there's no logged in user. Returns true
on success and an error object when an error is encountered redeeming the voucher.
Source Source
File: includes/forms/controllers/class.llms.controller.account.php
Changelog Changelog
Version | Description |
---|---|
4.12.0 | Introduced. |