Menu capability in WordPress


Is it possible to specify two usergroups (e.g. admins and editors) into the admin menu capability field ? I tried the following but it doesnt work:

     'Page title',
     'Sub-menu title',
      array('administrator', 'editor'),

error message:

Warning: Illegal offset type in isset or empty in C:wampwwwwordpresswp-includescapabilities.php on line 712

Omar Abid 2 months 0 Answers 9 views 0

Leave an answer