learndash_clear_prev_next_links( string $prevlink = '' )
Hides the next/previous post links in certain situations.
Description Description
Fires on previous_post_link
and next_post_link
hook.
Parameters Parameters
- $prevlink
-
(Optional) The next/previous post link.
Default value: ''
Return Return
(string) The next/previous post link.
Source Source
File: includes/course/ld-course-navigation.php
Changelog Changelog
Version | Description |
---|---|
2.1.0 | Introduced. |