Usage_Reports::__construct()

__construct


Return Return

(void)


Source Source

File: src/core/classes/class-usage-reports.php

	public function __construct() {

		$this->report = $this->initialize_report();

		add_action( 'rest_api_init', array( $this, 'rest_api_endpoint' ) );

		add_action( 'shutdown', array( $this, 'maybe_report' ) );

	}