LLMS_Membership::get_auto_enroll_courses()
Get an array of the auto enrollment course ids use a custom function due to the default “get_array” returning an array with an empty string
Description Description
Return Return
(array)
Source Source
File: includes/models/model.llms.membership.php
public function get_auto_enroll_courses() { if ( ! isset( $this->auto_enroll ) ) { $courses = array(); } else { $courses = $this->get( 'auto_enroll' ); } return apply_filters( 'llms_membership_get_auto_enroll_courses', $courses, $this ); }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.0.0 | Introduced. |
User Contributed Notes User Contributed Notes
Permalink: