Usage_Reports::time_to_report()

time_to_report


Return Return

(bool)


Source Source

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

	public function time_to_report() {

		$next_report = get_option( 'automator_next_report', 0 );

		if ( $next_report < time() ) {
			return true;
		}

		return false;
	}