Browse: Home / Functions /

learndash_clear_prev_next_links

learndash_clear_prev_next_links( string $prev_link = '' )

Hides the next/previous post links in certain situations.


Description #

Fires on previous_post_link and next_post_link hook.


Parameters #

$prev_link

(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.