How to restric url like “wp-admin/admin.php?page=XYZ”
-
Hi.
I would like to know how can I restrict access of specific URL (Example: wp-admin/admin.php?page=nameofthepage) from user roles except mine (admin).
Customer will have a “admin-like” role created by me.
There is a plugin with some tabs in admin backend and some of them I would like to hide/not be accessed by his role. As customer has to access a menu item, cannot hide it, but try to hide/make unaccessible only 2 other tabs.
I found some solutions based on WordPress pages created in my WordPress site (not the case).
I also found some solutions on admin menu (also not the case).This link refers to a tab that exists in plugin admin that I would like to be hidden or not accessed by users.
Appreciate any help (plugin or code).
Thanks.
Luiz.
- The topic ‘How to restric url like “wp-admin/admin.php?page=XYZ”’ is closed to new replies.