How to Do Custom Coding in WordPress
Go to the Toolset → Settings page and click the Custom Code tab. There, click the Add new button, give your snippet a name and paste the following code. add_action( 'admin_menu' , 'tssnippet_remove_menus' ); As you can see, our code removes the Appearance, Plugins