LLMS_Course::get_available_points()
Retrieve the total points available for the course
Description Description
Return Return
(int)
Source Source
File: includes/models/model.llms.course.php
public function get_available_points() { $points = 0; foreach ( $this->get_lessons() as $lesson ) { $points += $lesson->get( 'points' ); } return apply_filters( 'llms_course_get_available_points', $points, $this ); }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.24.0 | Introduced. |
User Contributed Notes User Contributed Notes
Permalink: