Action: sensei_course_structure_quiz_created

do_action( 'sensei_course_structure_quiz_created', $quiz_id, $lesson_id )

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

Parameters:
Name Type Description
$quiz_id int

Quiz post ID.

$lesson_id int

Course post ID.

Since:
  • 4.20.1
Deprecated:
  • 4.22.0 Use sensei_quiz_create instead.
Source: