WordPress at a glance
function is not described

WC_REST_System_Status_V2_Controller::get_items() public WC 1.0

Get a system status info, by section.

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

No Hooks.

Return

WP_Error|WP_REST_Response.

Usage

$WC_REST_System_Status_V2_Controller = new WC_REST_System_Status_V2_Controller();
$WC_REST_System_Status_V2_Controller->get_items( $request );
$request(WP_REST_Request) (required)
Full details about the request.

Code of WC_REST_System_Status_V2_Controller::get_items() WC 5.0.0

<?php
public function get_items( $request ) {
	$fields   = $this->get_fields_for_response( $request );
	$mappings = $this->get_item_mappings_per_fields( $fields );
	$response = $this->prepare_item_for_response( $mappings, $request );

	return rest_ensure_response( $response );
}