I have to create a new course format, very similar to the "topics format" but I need that it creates a quiz activity automatically on course creation, like the "topics format" automatically creates the "Announcements" activity .
I have already done the clone of "topics format".
But I don't know where, and how, I have to implement the automatic creation of that activity.
This is a step of a bigger job: I will work step by step.
My moodle version is 3.4