• Resolved marcelxv

    (@marcelxv)


    I’m trying to use the result to determine my user’s profile and for that i create custom user roles. What i want achieve: when the user finishes the quiz, the result use a hook to change the user role.

Viewing 1 replies (of 1 total)
  • Plugin Author Bob

    (@prasunsen)

    There is a hook when the quiz is finished:

    do_action('chained_quiz_completed', $taking_id);

    You can use the $taking_id to get the result from the database and run your code accordingly to it.

Viewing 1 replies (of 1 total)
  • The topic ‘Using the results to change the user role’s’ is closed to new replies.