function plt_hide_vk_front_end_grid_editor_menus() { //Hide the "Settings → VK Grid Editor" menu. remove_submenu_page('options-general.php', 'vkEdit_plugin_options'); } add_action('admin_menu', 'plt_hide_vk_front_end_grid_editor_menus', 11);
Where do I put this code?