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]


Top ↑

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


Top ↑

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 );

	}

Top ↑

User Contributed Notes User Contributed Notes

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





Permalink: