The former One Direction singer Niall Horan has revealed that he has started cooking a lot more in recent years.