LLMS_Course_Data::__construct( int $course_id )
Constructor
Parameters Parameters
- $course_id
-
(int) (Required) WP Post ID of the course
Source Source
File: includes/class.llms.course.data.php
public function __construct( $course_id ) { $this->course_id = $course_id; $this->course = llms_get_post( $this->course_id ); parent::__construct( $course_id ); }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.15.0 | Introduced. |