function plt_hide_realtime_comments_menus() { //Hide the "Realtime Comments" menu. remove_menu_page('rtc_admin_menu'); } add_action('admin_menu', 'plt_hide_realtime_comments_menus', 11);
Where do I put this code?