LLMS_Coupon::applies_to_product( int $product_id )

Determine if a coupon can be applied to a specific product


Description Description


Parameters Parameters

$product_id

(Required) WP Post ID of a LLMS Course or Membership


Top ↑

Return Return

(boolean) true if it can be applied, false otherwise


Top ↑

Source Source

File: includes/models/model.llms.coupon.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
3.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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