Warning: This method has been deprecated. Use LLMS_Section::set( ‘parent_course’ ), via LLMS_Post_Model::set(), instead.
LLMS_Section::set_parent_course( int $course_id )
Set parent course
Parameters Parameters
- $course_id
-
(int) (Required) ID of course post.
Return Return
(int|bool)
Source Source
File: includes/models/model.llms.section.php
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
4.0.0 | Introduced. |