Custom role is not able to edit?
-
I’ve created a plug-in to create a custom role.
Here’s the code:$result = add_role( 'styrelse', 'Styrelse' , array( 'read' => true, // True allows that capability 'edit_posts' => true, //'edit_pages' => true, 'edit_others_posts' => true, 'create_posts' => true, 'delete_posts' => true, // Use false to explicitly deny 'manage_categories' => true, // Allows user to manage post categories 'publish_posts' => true, // Allows the user to publish, otherwise posts stays in draft mode ) );
The problem is that I can’t edit posts.
Not mine and not others. I can create posts and publish but after that it’s locked down.What am I missing?
Thanks,
Eric
- The topic ‘Custom role is not able to edit?’ is closed to new replies.