Sunday, 15 January 2012

php - How to add a USER ROLE for user in Wordpress? -



php - How to add a USER ROLE for user in Wordpress? -

i trying add together user specific role of "contributer". how add together role wordpress admin?

add line function.php done :

$result = add_role('contributor', __( 'contributor' ), array('read'=> true,'edit_posts' => false,'delete_posts' => false,'level_0' => 0));

php wordpress

No comments:

Post a Comment