X

Give Author Capabilities Including Editing Other Authors Posts

Snippets by IsItWP

By default, WordPress only allow authors to edit their own posts. You can change these settings and give author capabilities including editing other authors posts.

Instructions: Add the following code to the functions.php file of your WordPress theme.
This is a list of other capabilities that can be used. To add more than one capability, just add a new line $role->add_cap( 'new_cap_name' );.

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

You may also enjoy showing the authors posts in the edit list.

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!