How to Hide Header Footer Code Manager Admin Menus

function plt_hide_header_footer_code_manager_menus() {
	//Hide "HFCM".
	remove_menu_page('hfcm-list');
	//Hide "HFCM → All Snippets".
	remove_submenu_page('hfcm-list', 'hfcm-list');
	//Hide "HFCM → Add New".
	remove_submenu_page('hfcm-list', 'hfcm-create');
	//Hide "HFCM → Tools".
	remove_submenu_page('hfcm-list', 'hfcm-tools');
}

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

Where do I put this code?