LLMS_Lesson::set_order( int $order )

Set order


Description Description

Sets lesson order within the parent sectionin database


Top ↑

Parameters Parameters

$order

(int) (Required) The new order


Top ↑

Return Return

(mixed) $meta If meta didn't exist returns the meta_id else t/f if update success. Returns false if the provided order value was already set.


Top ↑

Source Source

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

	public function set_order( $order ) {

		return update_post_meta( $this->id, '_llms_order', $order );

	}

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.