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

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

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

WC_REST_System_Status_V2_Controller::get_item_mappings() code WC 8.7.0

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