Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Where would you add roles and capabilities? #447

Open
shaharsol opened this issue Oct 2, 2017 · 3 comments
Open

Where would you add roles and capabilities? #447

shaharsol opened this issue Oct 2, 2017 · 3 comments

Comments

@shaharsol
Copy link

No description provided.

@DevinVinson
Copy link
Owner

See: https://developer.wordpress.org/plugins/users/roles-and-capabilities/

Probably in the admin class of this boilerplate and then the action(s) in the Plugin_Name class.

@shaharsol
Copy link
Author

And where would you deal with multisite stuff, like wpmu_new_blog? It's a kind of activation sruff, though it's not...

@DevinVinson
Copy link
Owner

Wherever you want really. Make a new class called Activation_Stuff or one for Multi_Stuff.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants