From dd376518e48ef3649eea1d4b7ce3bf1d979c21b5 Mon Sep 17 00:00:00 2001 From: Imran Hossain Date: Thu, 7 Sep 2023 14:44:50 +0600 Subject: [PATCH] Change input type to accept null as well --- includes/template-functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/template-functions.php b/includes/template-functions.php index 51d60d4950..6c4042ce84 100755 --- a/includes/template-functions.php +++ b/includes/template-functions.php @@ -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 ) {