How can check auth in functions ?

Hi
I writing module and i need to check is user login and is admin
but when i use auth()->check it's return false event when i'm login
i need to run my module before front show, so i write my code in functions.php

digitalhikess 2 months ago

Thank you for your documents.

You must be logged in to reply on this thread


Sign Up
ghasem