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.


Top ↑

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.


Top ↑

Source Source

File: includes/models/model.llms.lesson.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
unknown Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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