How to check if user is an admin in WordPress
I’m writing a custom filter in WordPress today for an internal support board powered by AD and WordPress user roles/capabilities. The logic in the spec (such as it is) is along the lines of Is user posting isn’t an admin, find the admin of the user group (business support, technical support or integration) and send them an…
Development