Posted By

S_Park on 09/20/11


Tagged


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

srdjan


Wordpress add custom user role


 / Published in: PHP
 

  1. /* Add custom user role - http://codex.wordpress.org/Roles_and_Capabilities */
  2. add_role('site_developer', 'Site Developer', array(
  3. 'read' => true,
  4. 'edit_posts' => true,
  5. 'delete_posts' => false
  6. ));

Report this snippet  

You need to login to post a comment.