Give author capabilities to Edit Other Posts

Add Tool

How to Give author capabilities to Edit Other Posts


How to Give author capabilities to Edit Other 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.

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

Source


Tags: wordpress user capabilities, wordpress user roles plugin, wordpress role manager, functions.php,
Payza

About Masum Billah

How to Give author capabilities to Edit Other Posts 1stWebSuite website seo tool is a free website ranking tool site provides a lot of on page and off page seo useful tools for you. On this site, we have a large number of website ranking tools


SIGN UP TO GET UPDATE TO YOUR INBOX




Discuss about: Give author capabilities to Edit Other Posts


adf.ly