How to Hide LLMs.txt Generator Admin Menus

function plt_hide_llms_txt_generator_menus() {
	//Hide the "LLMs.txt" menu.
	remove_menu_page('llms-txt-generator');
	//Hide the "LLMs.txt → LLMs.txt" menu.
	remove_submenu_page('llms-txt-generator', 'llms-txt-generator');
	//Hide the "LLMs.txt → Settings" menu.
	remove_submenu_page('llms-txt-generator', 'llms-txt-generator-settings');
}

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

Where do I put this code?