function plt_hide_qi_blocks_menus() { //Hide the "Qi Blocks" menu. remove_menu_page('qi_blocks_setup_wizard'); } add_action('admin_menu', 'plt_hide_qi_blocks_menus', 11);
Where do I put this code?