__('Basic', 'accounting-for-woocommerce'), 'refunds'=>__('Refunds', 'accounting-for-woocommerce'), )); $export_page = filter_input( INPUT_GET, 'format' ); if(!$export_page){ $export_page = array_keys($export_formats)[0]; } if ( !array_key_exists( $export_page, $export_formats ) ) { $export_page = array_keys( $export_formats )[0]; } $hpos = get_option('woocommerce_custom_orders_table_enabled'); $wccutdse = get_option('woocommerce_custom_orders_table_data_sync_enabled'); ?>