As I cant test this(cant find any docs and dont have an multisite setup) I need to know the db name of the Super Administrator. So how is this role stored inside the wp db?
It’s probably something like ‘super_administrator’…?
As I cant test this(cant find any docs and dont have an multisite setup) I need to know the db name of the Super Administrator. So how is this role stored inside the wp db?
It’s probably something like ‘super_administrator’…?
Comments are closed.
The administrator role is defined by the capabilities the user has. Those are stored in the
wp_user_meta
table for each user. If you’re on multisite, an additional set of capabilities is assigned to a Super Admin.The Codex tells us what capabilities we can check for in code to see if a user is an admin.