Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I wrote a quick plugin which creates a list of custom user roles and capabilities for each user role.

The user roles are checked and added if not found upon plugin activation.

When I network activate this plugin in WordPress Multisite, the roles appear fine when adding users to each site via the network administration.

However, when going to an individual site within the network, the user roles aren't added.

Is there something I'm missing?

Ideally, I would like this plugin to be activated network wide, but if it has to be activated on each individual site... I suppose I can settle for that.

Recap:

  • Hooked into plugin activation. Added user role.
  • Plugin is activated network wide.
  • Custom user roles are available via network admin, but not on individual site admin.
share|improve this question

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.