How to Hide Broken Link Checker by AIOSEO Admin Menus

function plt_hide_broken_link_checker_seo_menus() {
	//Hide "Broken Links".
	remove_menu_page('broken-link-checker');
	//Hide "Broken Links → Broken Links".
	remove_submenu_page('broken-link-checker', 'broken-link-checker');
	//Hide "Broken Links → SEO Settings".
	remove_submenu_page('broken-link-checker', 'broken-link-checker-seo-settings');
	//Hide "Broken Links → About Us".
	remove_submenu_page('broken-link-checker', 'broken-link-checker-about');
}

add_action('admin_menu', 'plt_hide_broken_link_checker_seo_menus', 1000);

Where do I put this code?