admin vs super_admin – user levels
-
Hi
Since WP3, user_level is deprecated.
This means I can no longer differentiate the super admin (wich had ul10) from the admins (wich had ul9). Now they both have user_levels 10, so I cannot deliver custom content to them separately.
How can make a similar verification in WP3?
The codex says I should be using roles instead of user_levels. Ok. But there is no super admin role!
Checking the user ID is one possibility (super admin is allways ID=1), but I’d like to know if there are smarter ways.
Thanks in advance!
MAC 🙂
The topic ‘admin vs super_admin – user levels’ is closed to new replies.