Change the arguments of a function

Change the arguments of a function

- Elie Reformed の投稿
返信数: 0

Hi, so the function is  " core_enrol_get_users_courses" which gets the list of courses where a user is enrolled in. This function needs one parameter (userid).

I want to know how can I change that parameter into a new one, which is the email address of the user. Thanks 笑顔