I have a retry button on my quiz results page that enables learners to retry the quiz again should they fail to pass the first time. I want to limit the availability or visibility of this button so that they can only retry once. If they fail a second time then it is a requirement they repeat the course. That will be handled via the LMS.
Does anyone have any suggestions on how I can do this?