LLMS_Lesson::set_parent_course( int $course_id )
Set parent course
Description Description
Sets parent course in database
Parameters Parameters
- $course_id
-
(Required) The WP Post ID of the course to be set as parent.
Return Return
(mixed) $meta If meta didn't exist returns the meta_id else t/f if update success. Returns false
if the course id value was already set.
Source Source
File: includes/models/model.llms.lesson.php
Changelog Changelog
Version | Description |
---|---|
unknown | Introduced. |