I would like to create a link to download with one click the csv files of one date.
This csv file would only contain some predefined elements from the whole data available
This date could be the one currently being viewed or chosen from a calendar (maybe the default WP calendar widget for ease.
This link ideally I would like to put outside of the admin area, ideally on a page.
Is this possible, and how would I go about it please?