Automattic\WooCommerce\Internal\Admin\Settings

SettingsUIRequestContext::get_schemapublicWC 1.0

Get the Settings UI schema for this context.

Method of the class: SettingsUIRequestContext{}

No Hooks.

Returns

Array|null.

Usage

$SettingsUIRequestContext = new SettingsUIRequestContext();
$SettingsUIRequestContext->get_schema(): ?array;

SettingsUIRequestContext::get_schema() code WC 10.9.1

public function get_schema(): ?array {
	if ( ! $this->schema_resolved ) {
		$this->resolve_schema();
	}

	return $this->schema;
}