Capture the "submit answers" event/hook


I have a custom function that I want to run after the "submit answer" button is clicked on the submit screen (the star icon at the end of a video)

is there is any hook/action to connect to?

I've attached a screenshot with the question, the screenshot contains the submit screen with the submit answers button I am referring to (The screenshot is in arabic)

 Edit: I am using H5P for WordPress with Learndash and Uncanny toolkit, the function I want to run is to mark the topic complete after the submit answers button has been clicked.

Submit answers hook/action
otacke's picture

Hi faniabdo99!

I guess the best event that you could listen to is the xAPI "answered" event that Interactive Video will send out when someone submits the results, see