WC_REST_System_Status_V2_Controller::get_item_mappings()publicWC 1.0

Устарела с версии 3.9.0. Больше не поддерживается и может быть удалена. Рекомендуется заменить эту функцию на аналог.

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

Метод класса: WC_REST_System_Status_V2_Controller{}

Хуков нет.

Возвращает

Массив.

Использование

$WC_REST_System_Status_V2_Controller = new WC_REST_System_Status_V2_Controller();
$WC_REST_System_Status_V2_Controller->get_item_mappings();

Список изменений

Устарела с 3.9.0

Код WC_REST_System_Status_V2_Controller::get_item_mappings() 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(),
	);
}