Last active
October 1, 2016 03:52
-
-
Save fearlex/bcff5f5e6e0885270842 to your computer and use it in GitHub Desktop.
Removing WP default roles.
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
/** Remove WP unnecessary roles **/ | |
remove_role('subscriber'); | |
remove_role('editor'); | |
remove_role('author'); | |
remove_role('contributor'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment