Filter: sensei_user_started_course

apply_filters( 'sensei_user_started_course', $user_started_course, $course_id, $user_id ) → {bool|int}

Filter the user started course value

Parameters:
Name Type Description
$user_started_course bool | int

False if the user has not started the course, otherwise the comment ID of the course progress.

$course_id int

The course ID.

$user_id int

The user ID.

Since:
  • 1.9.3
Source:
Returns:

Filtered user started course ID.

Type
bool | int