Commit Graph

28 Commits

Author SHA1 Message Date
Khan M Rashedun-Naby 90b6f98582 PHPDoc | Return type changed to string from array. 2018-07-20 22:59:41 +06:00
Khan M Rashedun-Naby eb104ecd17 PHPDoc | Return type changed from array to string. 2018-07-20 22:53:16 +06:00
Mike Jolley e6ddc65c2a Wrap cell in ' rather than prepend 2018-05-11 12:16:02 +01:00
Mike Jolley 5d4561240a Handle escape characters for fputcsv 2018-04-10 18:08:56 +01:00
Gerhard Potgieter 38892f3067 PHPCS passing for abstract-wc-csv-exporter.php 2018-03-06 07:55:15 +02:00
Claudiu Lodromanean f56fff18d9
Merge pull request #18322 from woocommerce/fix/importer-file-names
Importer file names
2018-01-02 08:10:20 -08:00
Mike Jolley 4e996ce268 Check for mb_detect_encoding support 2018-01-02 13:55:11 +00:00
Mike Jolley 46c51bb3a6 Allow filename to be set from javascript 2018-01-02 13:16:43 +00:00
Claudiu Lodromanean 4f94d9dbbc
Merge pull request #18247 from AdamQuadmon/wc-exporter-custom-filters
Add product export row action hook
2017-12-21 06:02:56 -08:00
Luciano Amodio 1b42973b75 Add export ajax query args and filename filter hooks
`woocommerce_export_get_ajax_query_args` let you pass args to ajax actions
`woocommerce_{$this->export_type}_export_get_filename` let you change the filename
2017-12-20 21:20:02 +01:00
Luciano Amodio bec2e939b4 change filter name 2017-12-19 18:25:16 +01:00
Luciano Amodio 8983b38598 change filter name and position `woocommerce_product_export_get_limit` 2017-12-19 17:18:55 +01:00
Mike Jolley cadfcfc11f phpcs 2017-12-07 12:21:01 +00:00
Mike Jolley d3cd420c0a Format data of headers 2017-12-07 12:15:39 +00:00
Mike Jolley 9f059e17a9 Add helper function instead of calling method, and restore old method for bw compat 2017-11-08 15:07:00 +00:00
Gerhard Potgieter 7b9fb6c0cb Change nocache_headers hook firing (#17540)
* wp hook is too late to fire the nocache_headers filter, some caching plugins read it before that it seems.

* Create do_not_cache_page helper function and call that instead of nocache_headers

* Must add checks to prevent caching on certain pages as well

* Nothing to return
2017-11-08 14:27:30 +00:00
Mike Jolley eb5c6d688b Added method to escape commas in CSV values 2017-07-03 14:47:48 +01:00
Caleb Burks b7ad5e18fc Export metadata along with custom columns 2017-07-02 02:21:58 -05:00
Mike Jolley 5c2a69c668 Add BOM for excel 2017-06-23 17:19:50 +01:00
Mike Jolley 1696a036a8 Use fputcsv to fix escaping 2017-06-10 15:43:38 +01:00
Mike Jolley a013a41872 Fix escape 2017-06-09 13:40:11 +01:00
Mike Jolley 0d99ce626c Increase limit to 50 2017-06-09 12:21:46 +01:00
claudiulodro a99d7ff099 Exporter tests and tweaks 2017-05-25 12:33:14 -07:00
Mike Jolley ed32dd558d Nonces and further tidyup 2017-05-12 20:15:08 +01:00
Mike Jolley 9faac6f60d Filters 2017-05-12 16:39:02 +01:00
Mike Jolley 4cacceeede Variation handling 2017-05-10 22:16:53 +01:00
Mike Jolley 825dcda917 Selective export 2017-05-10 20:48:56 +01:00
Mike Jolley fd3bf05017 Working prototype exporter for products 2017-05-10 17:22:08 +01:00