Trigger external action when user enrols to course

Re: Trigger external action when user enrols to course

by Davo Smith -
Number of replies: 0
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers

Create a plugin (probably a local plugin), that includes an event handler, handling the event \core\event\user_enrolment_created.

You can then call whatever external script you want with the details passed into the event.