I using the enrolment plugin "invite" from [1]. On our Moodle site we use this plugin on every course and I want to add it by default, rather than having my course creators to always add an instance, which is confusing for them. As it is done by the manual enrolment plugin, see image below.
I have been looking for how this is done, but it seems it is hard coded into the course.php functions, so that wasn't of any help.
How would you implement this? I am new to Moodle code. Any tipp?
[1] https://github.com/christianbrugger/moodle-enrol_invitation