Do you need to export your orders into a CSV? Maybe even automatically?
Well, WooCommerce Order/Customer CSV Export is what you need.
The plugin documentation already has an extensive developers documentation which teach you how to change the file name, reorder columns, adding columns, and much more.
Here instead is an additional snippet to change the date format.
By default the plugin exports the date in the format Y-m-d H:i:s
. What if you want to change it?
Write a snippet!
Open the file functions.php located in wp-content/themes/your-theme-name/ and add this code at the end of the file:
This code will change the date format to d/m/Y
. You can use any other format, here you can find the formatting options.
Leave a Reply