learndash_next_post_link( string $prevlink = '', boolean $url = false, WP_Post|null $post = null )

Generates the next post link for lesson or topic.


Description Description


Parameters Parameters

$prevlink

(Optional) Default next post link.

Default value: ''

$url

(Optional) Whether to return URL instead of HTML output.

Default value: false

$post

(Optional) The WP_Post object. Defaults to global post object.

Default value: null


Top ↑

Return Return

(string) Next post link URL or HTML output.


Top ↑

Source Source

File: includes/course/ld-course-navigation.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
2.1.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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