WC_REST_System_Status_V2_Controller::get_environment_infopublicWC 1.0

Deprecated since 3.9.0. It is no longer supported and may 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.

Method of the class: WC_REST_System_Status_V2_Controller{}

No Hooks.

Returns

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 since 3.9.0

WC_REST_System_Status_V2_Controller::get_environment_info() code WC 10.3.6

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