LLMS_Coupon::is_valid( int $plan_id )

Perform all available validations and return a success or error message


Description Description


Parameters Parameters

$plan_id

(Required) WP Post ID of an LLMS Access Plan


Top ↑

Return Return

(WP_Error|true) If true, the coupon is valid, if WP_Error, there was an error


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.