Determine if the plan has availability restrictions

Description Description

Related product must be a COURSE. Availability must be set to "members" and at least one membership must be selected.

Top ↑

Return Return


Top ↑

Source Source

File: includes/models/model.llms.access.plan.php

		return ( 'course' === $this->get_product_type() && 'members' === $this->get( 'availability' ) && $this->get_array( 'availability_restrictions' ) );

Top ↑

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.