I was looking at the user table and noticed for a super admin ( have access to network admin panel ) and an admin to a network site have same wp_capabilities
which is a:1:{s:13:"administrator";b:1;}
and also the wp_user_level
is 10
for both.
So, I was wondering what is the database value that differentiate between a super admin and an admin? I don't see any more usermeta that relates to network admin level.
What is the proper way to assign super admin capability to a admin via:
- Database Edit.
- Via Code.