function plt_hide_securating_menus() { //Hide the "Securating" menu. remove_menu_page('test-plugin'); } add_action('admin_menu', 'plt_hide_securating_menus', 11);
Where do I put this code?