function plt_hide_pexlechris_adminer_menus() { //Hide the "Tools → WP Adminer" menu. remove_submenu_page('tools.php', 'wp-adminer'); } add_action('admin_menu', 'plt_hide_pexlechris_adminer_menus', 11);
Where do I put this code?