Export column hook
-
Please add a filter to WPAM_Plugin::handle_csv_download(), allowing developers to control the columns in the affiliate export:
$export_keys = array( 'affiliateId' => 'Affiliate ID', 'status' => 'Status', ... ); $export_keys = apply_filters( 'wpam_export_columns', $export_keys ); $this->output_csv($affiliates->items, $export_keys, 'MyAffiliates.csv'); ...
Added code:
$export_keys = apply_filters( 'wpam_export_columns', $export_keys );
We need to add the address information to the export.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Export column hook’ is closed to new replies.