I want to display the same enrolled courses between two users in the Messages area.
The function enrol_get_shared_courses() in ../lib/enrollib.php returns all the courses. Is that possible to display all of the courses under user2's name (please view attached img)?
thank you very much for anyone's help in advance.