learndash_clear_prev_next_links

learndash_clear_prev_next_links( string $prevlink = '' )

Hides the next/previous post links in certain situations.


Description #

Fires on previous_post_link and next_post_link hook.


Parameters #

$prevlink

(string) (Optional) The next/previous post link.

Default value: ''


Return #

(string) The next/previous post link.


Source #

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


Changelog #

Changelog
Version Description
2.1.0 Introduced.