Usage_Reports::get_plugins_info( $plugins )

get_plugins_info


Return Return

(void)


Source Source

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

	public function get_plugins_info( $status ) {

		$plugins = $this->system_report[ $status . '_plugins' ];

		foreach ( $plugins as $plugin ) {
			array_push(
				$this->report[ $status . '_plugins' ],
				array(
					'name'    => $plugin['name'],
					'version' => $plugin['version'],
				)
			);
		}

	}