• LifterLMS
  • Knowledge Base
  • Academy
  • Blog
  • Podcast
  • Contributors
  • My Account

LifterLMS LifterLMS

  • Code Reference
  • REST API
  • LLMS-CLI

Code Reference

Skip to content
Filter by type:
Search
Browse: Home / Code Reference / includes/class.llms.voucher.php

LLMS_Voucher::delete_products()

Method: Delete products from a voucher

Source: includes/class.llms.voucher.php:558

Used by 0 functions | Uses 1 function

LLMS_Voucher::use_voucher()

Method: Attempt to redeem a voucher for a user with a code

Source: includes/class.llms.voucher.php:309

Used by 0 functions | Uses 6 functions

llms_voucher_used

Action Hook: Perform action before voucher redeemed.

Source: includes/class.llms.voucher.php:351

Used by 1 function | Uses 0 functions

LLMS_Voucher::get_redeemed_codes()

Method: Redeemed Codes

Source: includes/class.llms.voucher.php:378

Used by 0 functions | Uses 2 functions

LLMS_Voucher::get_redemptions_for_code_by_user()

Method: Retrieve the number of times a voucher was redeemed by a specific user

Source: includes/class.llms.voucher.php:408

Used by 1 function | Uses 1 function

LLMS_Voucher::save_redeemed_code()

Method: Save redeemed code

Source: includes/class.llms.voucher.php:429

Used by 1 function | Uses 1 function

LLMS_Voucher::get_products()

Method: Get an array of IDs for products associated with this voucher

Source: includes/class.llms.voucher.php:447

Used by 2 functions | Uses 1 function

LLMS_Voucher::is_product_to_voucher_link_valid()

Method: Determine if the product is linked to a voucher by code

Source: includes/class.llms.voucher.php:483

Used by 0 functions | Uses 2 functions

LLMS_Voucher::is_code_duplicate()

Method: Dupcheck generated voucher codes.

Source: includes/class.llms.voucher.php:509

Used by 0 functions | Uses 1 function

LLMS_Voucher::save_product()

Method: Save products to a voucher

Source: includes/class.llms.voucher.php:541

Used by 0 functions | Uses 1 function
1 2 3 Next »
© 2014 - 2023 LifterLMS · Privacy Policy · Terms and Conditions