LLMS_Course_Data::get_enrollments( string $period = 'current' )

Retrieve # of course enrollments within the period


Description Description


Parameters Parameters

$period

(Optional) Date period [current|previous]. Default is 'current'.

Default value: 'current'


Top ↑

Return Return

(int)


Top ↑

Source Source

File: includes/class.llms.course.data.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
3.31.0 Use $this->post_id instead of deprecated $this->course_id.
3.15.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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