Skip to content

Instantly share code, notes, and snippets.

@ncyhere
Created October 6, 2019 03:42
Show Gist options
  • Save ncyhere/876391684882f5963addbec06f64279d to your computer and use it in GitHub Desktop.
Save ncyhere/876391684882f5963addbec06f64279d to your computer and use it in GitHub Desktop.
Create a new user role
variable = add_role( ‘$role’, __( ‘$display_name’ ), array($capabilities));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment