Forums
Home / Plugin: Advanced Order Export For WooCommerce / Auto Filter
(@prodograw)
4 years, 3 months ago
I am trying to add filter on row 1 utilising below
$formatter ->getActiveSheet()->setAutoFilter('A1:B1');
but getting php error
is this not the correct way of implementing ?
(@algolplus)
please, use another variable.
sample code
add_action( 'woe_xls_print_footer', function ($objXls,$formatter) { $objXls->getActiveSheet()->setAutoFilter('A1:B1'); }, 10, 2);