By default scheduled CSV exports have an autogenerated name, but occasionally you may need to control this name, or have it generated according specific logic. There are filters available that allow you to override the default filename of the generated file. The example below shows how to override the filename such that the file is always called “custom_filename.csv” – of course you can carry out any logic you like to decide on the filename – just make sure that you return a full path, not just the filename.


This entry was posted in .
Bookmark the permalink.