You appear to be a bot. Output may be restricted
Description
Set the export headers.
Usage
$void = EDD_Batch_Earnings_Report_Export::headers();
Parameters
Returns
void
Source
File name: easy-digital-downloads/includes/admin/reporting/export/class-batch-export-earnings-report.php
Lines:
1 to 12 of 12
public function headers() { ignore_user_abort( true ); if ( ! edd_is_func_disabled( 'set_time_limit' ) ) { set_time_limit( 0 ); } nocache_headers(); header( 'Content-Type: text/csv; charset=utf-8' ); header( 'Content-Disposition: attachment; filename=' . apply_filters( 'edd_earnings_report_export_filename', 'edd-export-' . $this->export_type . '-' . date( 'm' ) . '-' . date( 'Y' ) ) . '.csv' ); header( "Expires: 0" ); }