[wp-hackers] Role Manager
    Leo Baiano 
    ljunior2005 at gmail.com
       
    Fri Apr 29 19:37:56 UTC 2011
    
    
  
I need a certain group of users can publish posts pending but can not find
thecorresponding role, so I'm creating the role:
add_role('editorImprensa', 'Editor Imprensa', array(
   'read' => true,
   'read_posts' => true,
   'read_private_posts' => true,
   'publish_posts' => true,
   'publish_private_posts' => true,
   'edit_posts' => true,
   'edit_private_posts' => true,
   'delete_posts' => true,
   'edit_published_posts' => true,
   'edit_files' => true,
   'upload_files' => true
));
-- 
Amplexos,
Leo Baiano
http://www.leobaiano.com
http://www.blog.ljunior.com
http://www.mcelebridades.com
http://www.twitter.com/leobaiano
    
    
More information about the wp-hackers
mailing list