-
-
Save rickbenetti/65f4fb6e6f555bdb591076242a9582f4 to your computer and use it in GitHub Desktop.
Reset WordPress User Role Capabilities
This file contains hidden or 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
if ( !function_exists( 'populate_roles' ) ) { | |
require_once( ABSPATH . 'wp-admin/includes/schema.php' ); | |
} | |
populate_roles(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks this was so useful!