M
M
Max Darkleviathan2018-02-06 14:11:15
WordPress
Max Darkleviathan, 2018-02-06 14:11:15

How to remove fields in the wordpress admin panel, in the users section, for a specific role?

Actually the screen:
5a798c3042409245780814.jpeg
For the "Shop Manager" role (as I found out from the documentation manage_options) in the users section,
remove all items except the Client, so that when choosing this role, the administrator could not see any administrators or Shop Manager like him, but only Clients.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
alex steel, 2018-02-06
@alexsteel07

https://wp-kama.ru/function/remove_role don't talk ))

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question