Usage_Reports::get_wp_info()

get_wp_info


Return Return

(void)


Source Source

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

	public function get_wp_info() {

		$wp['multisite']       = $this->system_report['environment']['wp_multisite'];
		$wp['sites']           = $wp['multisite'] ? $this->sites_count() : 1;
		$wp['user_count']      = $this->get_user_count();
		$wp['timezone_offset'] = date( 'P' );
		$wp['locale']          = get_locale();

		$this->report['wp'] = $wp;
	}