Action: sensei_course_structure_lesson_created

do_action( 'sensei_course_structure_lesson_created', $lesson_id, $course_id )

Fires after a lesson is created while saving the course structure.

Parameters:
Name Type Description
$lesson_id int

Lesson post ID.

$course_id int

Course post ID.

Since:
  • 4.20.1
Source: