How to Hide Pods - Custom Content Types and Fields Admin Menus

function plt_hide_pods_menus() {
	//Hide "Pods Admin".
	remove_menu_page('pods');
	//Hide "Pods Admin → Edit Pods".
	remove_submenu_page('pods', 'pods');
	//Hide "Pods Admin → Add New".
	remove_submenu_page('pods', 'pods-add-new');
	//Hide "Pods Admin → Components".
	remove_submenu_page('pods', 'pods-components');
	//Hide "Pods Admin → - Import/Export Packages".
	remove_submenu_page('pods', 'pods-component-migrate-packages');
	//Hide "Pods Admin → - Pod Templates".
	remove_submenu_page('pods', 'edit.php?post_type=_pods_template');
	//Hide "Pods Admin → Settings".
	remove_submenu_page('pods', 'pods-settings');
	//Hide "Pods Admin → Help".
	remove_submenu_page('pods', 'pods-help');
}

add_action('admin_menu', 'plt_hide_pods_menus', 51);

Where do I put this code?