How to Hide Solid Central Admin Menus

function plt_hide_ithemes_sync_menus() {
	//Hide the "Settings → SolidWP Licensing" menu.
	remove_submenu_page('options-general.php', 'ithemes-licensing');
	//Hide the "Settings → Solid Central" menu.
	remove_submenu_page('options-general.php', 'solid-central');
}

add_action('admin_menu', 'plt_hide_ithemes_sync_menus', 1000000);

Where do I put this code?