LLMS_Voucher::is_product_to_voucher_link_valid( string $code, int $product_id )

Determine if the product is linked to a voucher by code


Description Description


Parameters Parameters

$code

(Required) Voucher code string.

$product_id

(Required) WP_Post ID of the product (course or membership).


Top ↑

Return Return

(boolean)


Top ↑

Source Source

File: includes/class.llms.voucher.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
2.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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