LMSouq
moodle-core AI Answered

how to unenroll user programmatically

WO
wordpresrox
2 months ago
10 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