LMSouq
moodle-core Open

how to unenroll user programmatically

WO
wordpresrox
1 month ago
3 views
Problem Description
i want to unenrol user from a course in moodle ,i want to know there is any in built function like unenrol_user($userid,$courseid)

AI-Generated Solution

Powered by LMSouq AI · GPT-4.1-mini

✓ Solution Ready
Analyzing problem and generating solution…
Was this solution helpful?
Back to Knowledge Base