Created
July 24, 2016 01:32
-
-
Save joecue/74d328a6984e7cf27d69dcc99fb7ee91 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