Give author capabilities including editing other authors posts

Adding this snippet to the functions.php of your wordpress theme will allow authors to edit other users posts.

This is a list of other capabilities that can be used. Adding more than one cap just add a new line $role->add_cap( ‘new_cap_name’ ); Thanks to Andrea Bersi for submitting.

Code Snippet:

function add_theme_caps() {
$role = get_role( 'author' );
$role->add_cap( 'edit_others_posts' );
add_action( 'admin_init', 'add_theme_caps');

Comments  Leave a Reply

  1. Nice one! Thanks!

Add a Comment

We're glad you have chosen to leave a comment. Please keep in mind that all comments are moderated according to our privacy policy, and all links are nofollow. Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.

WordPress Launch Checklist

The Ultimate WordPress Launch Checklist

We've compiled all the essential checklist items for your next WordPress website launch into one handy ebook.
Yes, Send Me the Free eBook!