Is there a way we can completely disable quiz previews (using Moodle 3.5)?
We are trying to allow multiple quiz attempts, using the "each attempt builds off the previous" option.
However, it is impossible for any site admins to try this out, because when "Start attempt" is pressed, a preview is created, and all other previews are gone.
What we might do is observe the quiz preview started event, and set preview = 0 in mdl_quiz_attempts. Are there any additional dangers in doing this, or better approaches?
We don't care if staff need to delete their attempts to preview them again. We can get by with this.