I have a requirement that is collecting wish-list data and download/store them as a CSV file.
As of now, I have referred the below URL and tried getting the sample CSV file downloaded.
How to Create a excel file in custom module?
However, I'm not sure how to get the wishlist collection?
Could anyone please help me with that?