How to Hide the "WP FOFT Loader" Admin Menu

function plt_hide_wp_foft_loader_menus() {
	//Hide the "Settings → WP FOFT Loader" menu.
	remove_submenu_page('options-general.php', 'wp_foft_loader_settings');
}

add_action('admin_menu', 'plt_hide_wp_foft_loader_menus', 11);

Where do I put this code?