WordPress at a glance
function is not described

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

Return an array of sections and the data associated with each.

{} 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_item_mappings();

Changelog

Deprecated 3.9.0

Code of WC_REST_System_Status_V2_Controller::get_item_mappings() WC 5.0.0

<?php
public function get_item_mappings() {
	return array(
		'environment'        => $this->get_environment_info(),
		'database'           => $this->get_database_info(),
		'active_plugins'     => $this->get_active_plugins(),
		'inactive_plugins'   => $this->get_inactive_plugins(),
		'dropins_mu_plugins' => $this->get_dropins_mu_plugins(),
		'theme'              => $this->get_theme_info(),
		'settings'           => $this->get_settings(),
		'security'           => $this->get_security_info(),
		'pages'              => $this->get_pages(),
		'post_type_counts'   => $this->get_post_type_counts(),
	);
}