Usage_Reports::maybe_report()

Method maybe_report


Return Return

(bool)


Source Source

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

	public function maybe_report() {

		if ( ! $this->reporting_enabled() ) {
			return false;
		}

		if ( ! $this->time_to_report() ) {
			return false;
		}

		return $this->async_report();

	}