LLMS_Section::delete()

Remove all associated lessons and delete section


Description Description


Return Return

([type]) [description]


Top ↑

Source Source

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

	public function delete() {

		//remove any child lessons
		$this->remove_all_child_lessons();

		//hard delete post
		return wp_delete_post( $this->id, true );

	}


Top ↑

User Contributed Notes User Contributed Notes

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