- In bulk user actions, filter for a selection of users using the standard available filters.
- Create a selection.
- In the dropdown action list I would like to add "Message Parents".
- This should run a customized bulk messaging routine where the email ID's messaged to are basically not the user's email ID but obtained from user profile field holding a string of the parent email ID.
- This will be the simplest way to send messages to students' parents without having to create accounts for parents and enrolling with 'parent' role in all courses o students.
Any pointers to modifying which code and how will be highly appreciated. I am an experienced programmer but new to Moodle code and a PHP beginner.