Skip to main content
edited title
Link
fuxia
  • 107.1k
  • 38
  • 255
  • 459

Defference Difference Between Admin and Super Admin in Database

Source Link
Sisir
  • 7.8k
  • 8
  • 60
  • 99

Defference Between Admin and Super Admin in Database

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:

  1. Database Edit.
  2. Via Code.