Hide Comments and Links menu from Clients in WP Admin Dashboard

Line 5 and Line 8 should be edited to meet your needs. Line 5, $restrict, lists Links and Comments as the two menus to hide, add more or replace with the WP admin menu items you woud like to remain hidden. $restrict_user contains a commas seperated list of WP menu items that will only be displayed to Administrators, and hidden to other WP user types.