Filter: sensei_start_course_redirect_url

apply_filters( 'sensei_start_course_redirect_url', $redirect_url, $post ) → {string|bool}

Filter the URL that students are redirected to after starting a course.

Parameters:
Name Type Description
$redirect_url string | bool

URL to redirect students to after starting course. Return false to prevent redirect.

$post WP_Post

Post object for course.

Since:
  • 1.10.0
Source:
Returns:

Filtered URL to redirect students to after starting course. Return false to prevent redirect.

Type
string | bool