Skip to content

Instantly share code, notes, and snippets.

@fearlex
Last active October 1, 2016 03:52
Show Gist options
  • Save fearlex/bcff5f5e6e0885270842 to your computer and use it in GitHub Desktop.
Save fearlex/bcff5f5e6e0885270842 to your computer and use it in GitHub Desktop.
Removing WP default roles.
/** 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