I am developing a Moodle registration plugin which generates a bank account, but I have some doubts regarding the confirmation of the user's enrollment:
What is the table responsible for enrolling a student in a course in Moodle?
What would be the command to sign up?
The Moodle documentation is extremely confusing, making the developer's work difficult.