Filter: sensei_complete_lesson_redirect_url

apply_filters( 'sensei_complete_lesson_redirect_url', $redirect_url, $lesson_id, $nav_links ) → {string|bool}

Filter the URL that students are redirected to after completing a lesson.

Parameters:
Name Type Description
$redirect_url string | bool

URL to redirect students to after completing a lesson. False to skip redirect.

$lesson_id int

Current lesson ID.

$nav_links array

Navigation links found for the current lesson.

Since:
  • 1.12.0
Source:
Returns:

Filtered URL to redirect students to after completing a lesson. False to skip redirect.

Type
string | bool