Snippets

Visser Labs Override the default ZipArchive Class in PHPExcel for XLS and XLSX exports

Created by Michael Visser
1
2
3
4
5
6
7
8
9
<?php
// Override the default ZipArchive Class that is loaded in PHPExcel and default to the PCLZip Class
function custom_woo_ce_export_phpexcel_ziparchive_legacy() {

	return true;

}
add_filter( 'woo_ce_export_phpexcel_ziparchive_legacy', 'custom_woo_ce_export_phpexcel_ziparchive_legacy' );
?>

Comments (0)