Skip to content

Commit

Permalink
Change input type to accept null as well
Browse files Browse the repository at this point in the history
  • Loading branch information
Imran92 committed Sep 7, 2023
1 parent 91bb7fe commit dd37651
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/template-functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ function sensei_get_navigation_link_text( $item ) {
* Returns navigation links for the modules and lessons in a course.
*
* @since 1.0.9
* @param int|bool $lesson_id Lesson ID.
* @param int|null $lesson_id Lesson ID.
* @return array Multi-dimensional array of previous and next links.
*/
function sensei_get_prev_next_lessons( $lesson_id = 0 ) {
Expand Down

0 comments on commit dd37651

Please sign in to comment.