To keep your clients from risky places or to restrict access to specific pages from the clients, you can customise your WordPress dashboard by adding the below code in your theme’s functions.php. This code allows you to hide parts of the WordPress dashboard menu.
You need to uncomment the line ( remove // ) for the page that you want to hide/remove from the WordPress menu.
Code snippet to customise #WordPress Dashboard for Clients #snippet Click To Tweet
Be aware that this only hides the menu items from the dashboard and clients can still theoretically access these menus with a direct link (if they know).