Action: sensei_course_new_teacher_assigned

do_action( 'sensei_course_new_teacher_assigned', $new_teacher, $course_id )

Fires when a new teacher is assigned to a course.

Parameters:
Name Type Description
$new_teacher int

The ID of the new teacher.

$course_id int

The ID of the course.

Since:
  • 4.12.0
Source: