Creating a role based on another
-
Hi!
I’d like to create a new role for my plugin based on ‘editor’ but I haven’t found a function in the Codex which would allow ‘cloning’ a role. The goal is to have a new role with all capabilities an Editor has, plus some new ones for managing plugin data. I don’t want to add new capabilities to all editors. Is there a way to get all capabilities granted to a role (so I could apply them via add_cap)?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Creating a role based on another’ is closed to new replies.