Metal poles are superior to wooden ones. Why? You need to treat a wooden post so that in time it doesn't decay or get infected. Also, metal poles invigorate you more and strain than a hammock needs. Here are the two different ways you can hang your hammock on a metal pole.
More information at https://outdoortalk.org/how-to-hang-hammock-on-metal-pole/