WP_View_Config_Data::get_data │ private │ WP 7.1.0

Returns the current configuration array.

Deliberately private: filter callbacks receive the container, not the materialized configuration, so they cannot read the built result and become coupled to a specific configuration shape or schema version. Only the class itself reconciles the container back into an array.

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

Хуков нет.

Возвращает

array. The configuration.

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

// private - только в коде основоного (родительского) класса
$result = $this->get_data();

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

С версии 7.1.0 Введена.

Код WP_View_Config_Data::get_data() WP 7.1.4

private function get_data() {
	return $this->config;
}