LLMS_Lesson::get_sibling( string $direction )

Retrieve the sibling lesson in a specified direction


Description Description


Parameters Parameters

$direction

(Required) Direction of navigation. Accepts either "prev" or "next".


Top ↑

Return Return

(false|int) WP_Post ID of the sibling lesson or false if one doesn't exist.


Top ↑

Source Source

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


			

Top ↑

Changelog Changelog

Changelog
Version Description
4.10.2 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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