WC_REST_System_Status_V2_Controller::get_environment_info
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() 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' ) );
}