Posted By

gabbo on 02/12/14


Tagged

menu php functions wp wordpess Redakteuer


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

fhenderson


WordPress Redakteuer Rechte zum Menü anpassen


 / Published in: PHP
 

URL: http://www.webundso.ch/code/php/wordpress-designmenu-fur-redakteur-zuganglich-machen/

Text for functions.php

  1. $role_object = get_role( 'editor' );
  2. $role_object->add_cap( 'edit_theme_options' );

Report this snippet  

You need to login to post a comment.