Automattic\WooCommerce\Admin

ReportExporter::init()public staticWC 1.0

Hook in action methods.

Method of the class: ReportExporter{}

No Hooks.

Return

null. Nothing (null).

Usage

$result = ReportExporter::init();

ReportExporter::init() code WC 8.7.0

public static function init() {
	// Initialize scheduled action handlers.
	self::scheduler_init();

	// Report download handler.
	add_action( 'admin_init', array( __CLASS__, 'download_export_file' ) );
}