Dev Resources

  • Home
  • Reference
  • BuddyX Theme
  • Functions
  • Hooks
  • Classes
Filter by type:
Search
Browse: Home / Reference / Classes / LLMS_Controller_Account / LLMS_Controller_Account::redeem_voucher()

LLMS_Controller_Account::redeem_voucher()

Redeem a voucher from the “Redeem Voucher” endpoint of the student dashboard

Contents

  • Description
    • Return
    • Source
    • Changelog
  • User Contributed Notes

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.


Top ↑

Source #Source

File: includes/forms/controllers/class.llms.controller.account.php


			

Expand full source code Collapse full source code


Top ↑

Changelog #Changelog

Changelog
Version Description
4.12.0 Introduced.

Top ↑

User Contributed Notes #User Contributed Notes

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

Proudly powered by WordPress