Automattic\WooCommerce\Admin
ReportExporter::init
Hook in action methods.
Method of the class: ReportExporter{}
No Hooks.
Returns
null. Nothing (null).
Usage
$result = ReportExporter::init();
ReportExporter::init() ReportExporter::init code WC 10.5.0
public static function init() {
// Initialize scheduled action handlers.
self::scheduler_init();
// Report download handler.
add_action( 'admin_init', array( __CLASS__, 'download_export_file' ) );
}