LLMS_Membership::get_sales_page_url()
Get the URL to a WP Page or Custom URL when sales page redirection is enabled
Contents
Return Return
(string)
Source Source
File: includes/models/model.llms.membership.php
/**
* Retrieve an instance of the LLMS_Product for this course
*
* @since 3.3.0
* @return LLMS_Product
*/
public function get_product() {
return new LLMS_Product( $this->get( 'id' ) );
}
/**
* Retrieve the number of enrolled students in the membership.
*
* @since 3.32.0
* @since 6.0.0 Don't access `LLMS_Student_Query` properties directly.
*
* @return int
*/
public function get_student_count() {
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
| Version | Description |
|---|---|
| 3.20.0 | Introduced. |