LLMS_Course::has_sales_page_redirect()

Determine if sales page redirection is enabled


Return Return

(boolean)


Top ↑

Source Source

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

		return apply_filters( 'llms_is_course_enrollment_open', $is_open, $this );

	}

	/**
	 * Determine if students can access course content based on the current date
	 *
	 * Note that enrollment does not affect the outcome of this check as regardless
	 * of enrollment, once a course closes content is locked.
	 *
	 * @since 3.0.0
	 * @since 3.7.0 Unknown.
	 *
	 * @return boolean
	 */
	public function is_open() {

Top ↑

Changelog Changelog

Changelog
Version Description
4.12.0 Use strict in_array() comparison.
3.23.0 Unknown.
3.20.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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