Usage_Reports::get_unique_site_hash()

get_unique_site_hash


Description Description

Generate a unique site hash. We can’t send the site URL without owner’s consent due to GDPR.


Top ↑

Return Return

(void)


Source Source

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

	public function get_unique_site_hash() {

		$site_url                  = get_site_url();
		$site_hash                 = md5( $site_url );
		$this->report['site_hash'] = $site_hash;

	}