WC_REST_System_Status_V2_Controller::get_environment_info()publicWC 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.

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

WC_REST_System_Status_V2_Controller::get_environment_info() code WC 8.7.0

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