Adding Administration Menus For All Users
-
I have been following the information on adding administration menus and it’s working as intended except for the user permissions.
add_menu_page(page_title, menu_title, capability, handle, [function], [icon_url]);This code works, but if I put ‘administrator’ in the capability spot then only the admin accounts can see it. If I put ‘subscriber’ then only subscribers see it and not the admins (or anyone in between).
How can I make it so that this menu can be seen by all users?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘Adding Administration Menus For All Users’ is closed to new replies.