WP_View_Config_Data::get_dataprivateWP 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.

Method of the class: WP_View_Config_Data{}

No Hooks.

Returns

array. The configuration.

Usage

// private - for code of main (parent) class only
$result = $this->get_data();

Changelog

Since 7.1.0 Introduced.

WP_View_Config_Data::get_data() code WP 7.1

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