LLMS_Section::get_siblings( string $return = 'sections' )

Get sibling sections


Parameters Parameters

$return

(string) (Optional) Type of return [ids|posts|sections]. Default is sections.

Default value: 'sections'


Top ↑

Return Return

(int[]|WP_Post[]|LLMS_Section[]) Return type depends on value of $return argument.


Top ↑

Source Source

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

	public function get_siblings( $return = 'sections' ) {
		$course = $this->get_course();
		return $course->get_sections( $return );
	}


Top ↑

Changelog Changelog

Changelog
Version Description
3.13.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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