Action: sensei_quiz_create

do_action( 'sensei_quiz_create', $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.22.0
Source:

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

Fires after a quiz is created while saving a lesson in a non-block editor.

Parameters:
Name Type Description
$quiz_id int

Quiz post ID.

$lesson_id int

Course post ID.

Since:
  • 4.22.0
Source: