WC_REST_System_Status_V2_Controller::get_item_mappingspublicWC 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.

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

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

Changelog

Deprecated since 3.9.0

WC_REST_System_Status_V2_Controller::get_item_mappings() code WC 10.3.6

public function get_item_mappings() {
	return array(
		'environment'        => $this->get_environment_info_per_fields( array( 'environment' ) ),
		'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(),
		'logging'            => $this->get_logging_info(),
	);
}