LLMS_Lesson::set_parent_section( $section_id )
Set parent section Set’s parent section in database
Description Description
Parameters Parameters
- $meta
-
([int]) (Required) [id section post]
Return Return
([mixed]) $meta [if mta didn't exist returns the meta_id else t/f if update success] Returns False if section id is already parent
Source Source
File: includes/models/model.llms.lesson.php
public function set_parent_section( $section_id ) { return update_post_meta( $this->id, '_llms_parent_section', $section_id ); }
Expand full source code Collapse full source code View on GitHub
User Contributed Notes User Contributed Notes
Permalink: