blogbysid.wordpress.com
Add Capability of Custom Plugin to a Role
To add new Capability of a custom made plugin in Wordpress to a specific Role. function add_theme_caps() { // gets the author role $role = get_role(‘editor’); // This only works, becaus…