Created
July 19, 2022 15:07
-
-
Save davepullig/062eedc77d2d617e596c94a0c95702db to your computer and use it in GitHub Desktop.
Get a list of WordPress roles and their capabilities in a format that can be used in code.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var_export(wp_roles()->roles,true); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment