Automattic\WooCommerce\Internal\Admin\Settings

SettingsUIRequestContext::get_schema │ public │ WC 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 11.1.2

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

	return $this->schema;
}