WordPress at Your Fingertips
function is not described

WC_REST_System_Status_V2_Controller::get_environment_info() public WC 1.0

Deprecated from version 3.9.0. It is no longer supported and can be removed in future releases. It is recommended to replace this function with the same one.

Get array of environment information. Includes thing like software versions, and various server settings.

{} It's a method of the class: WC_REST_System_Status_V2_Controller{}

No Hooks.

Return

Array.

Usage

$WC_REST_System_Status_V2_Controller = new WC_REST_System_Status_V2_Controller();
$WC_REST_System_Status_V2_Controller->get_environment_info();

Changelog

Deprecated 3.9.0

Code of WC_REST_System_Status_V2_Controller::get_environment_info() WC 5.5.2

<?php
public function get_environment_info() {
	return $this->get_environment_info_per_fields( array( 'environment' ) );
}