Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
I am looking at enabling the my custom plugin 'options' only and NOT WordPress Plugins . And I am looking at give access of my custom plugin setting/option pages to selective role called backend_user . In simple exhibit: ```` ->Dashboard ->**My plugin menu** ->Profile ->Collapemenu ```` Following code has partially open the My plugin menu for role "backend_user" but unfortunately the page/callback are restricted. add_menu_page( $page['page_title'], $page['menu_title'], 'backend_user', $page['menu_slug'], $page['callback'], $page['icon_url'], $page['position'] );