Change WordPress user roles and capabilities › Forums › Restrict or Permit access inside WordPress – how to › add_menu_page This topic has 2 replies, 2 voices, and was last updated 3 years, 8 months ago by zilabs. Viewing 3 posts - 1 through 3 (of 3 total) Author Posts 13/04/2021 at 19:51 #7531 zilabsParticipant Hi, I made plugin and added a menĂ¹ add_menu_page('inventario', 'inventario', 'administrator', 'inventario', 'inventario'); How can I show for shop_manager role? Thanks 14/04/2021 at 07:17 #7534 VladimirKeymaster Hi, Replace ‘administrator’ role ID at the add_menu_page() call with ‘manage_woocommerce’ user capability, which is available by default for the administrator and shop_manager roles only. 14/04/2021 at 15:21 #7535 zilabsParticipant Hi, I solved, thanks. Author Posts Viewing 3 posts - 1 through 3 (of 3 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In