LMSouq
moodle-core Open

how to check whether user are login in moodle?

BE
Beginner Pogrammer
1 month ago
3 views
Problem Description
Currently I'm using moodle to create a site. I want to create a function if user not login they will redirect to the login page. How can I do that in moodle?

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