Forums
-
- Forum
- Posts
-
- Installing BuddyPress
- 23,840
- How-to & Troubleshooting
- 129,869
- Creating & Extending
- 25,900
- Requests & Feedback
- 9,548
- Third Party Plugins
- 9,832
- Showcase
- 3,316
- Ideas
- 1,402
- Miscellaneous
- 9,178
-
If I’ve read this wrong and you are just trying to sort out who an admin is, the best way to check for a role is via user capabilities (https://codex.wordpress.org/Roles_and_Capabilities). So checking to see if the users can “activate_plugins” will let you identify whether they have the admin role or not.