Hi @amministratore01pi ,
Yes, WordPress offers this natively; it is called roles and capabilities. There are multiple ways to work with that, via custom code or free plugins.
You can ease the process by following this official support guide, which includes a list of recommended plugins that work with that.
You will basically:
- Install a free plugin,
- Create a new user role,
- Deny access to the functions you want to hide,
- Create a new user with this custom role.
The options you defined previously will be unavailable when the user logs in.
Role capability is indeed the intended way to manage access to admin menu items, but how well that works depends on which menu items you want to hide. It’s possible the ones you want to hide require the same capability as ones they must have access to. You can have finer grain control by manipulating the global $menu and $submenu arrays for certain users. Note that manipulating these arrays can remove certain menu items, but if a user knows the URL of the hidden item’s destination, they could still go there and do something you don’t intend to allow. But the lack of a menu item ought to deter all but the most savvy of WP users. Just know that it’s not 100% secure.
Ok @bcworkz Thanks so much
Thanks to you too @pagelab for the solutions, I’ll see how to organize myself at this point 😉