How can I check user access?
-
I need to check for user access to page.
For example:
if(user_has_access()) { echo '<a href="/my-page">Go to page</a>'; } else { echo '<p>You don\'t have access to this page</p>'; }
How can I check user access to some page?
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘How can I check user access?’ is closed to new replies.