admin privilege
-
Hi
I search to forbiden access to all of user that not admin.
I’ve create a profil page with the personal information of user, but i want that this information be visible to admin and invisible for other.
<php
$user_id = um_user(‘ID’);
um_fetch_user( $user_id );
$meta_value = um_user(‘first_name’);
echo $meta_value;
echo ‘<td>’.'<br>’;
?>So, how can i do for display “first_name” only at admins ?
Regards,
The page I need help with: [log in to see the link]
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘admin privilege’ is closed to new replies.