Automattic\WooCommerce\Internal\Admin\Settings
SettingsUIRequestContext::get_schema
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() SettingsUIRequestContext::get schema code WC 11.3.0
public function get_schema(): ?array {
if ( $this->has_script_handles_failed() ) {
$this->schema_resolved = true;
return null;
}
if ( ! $this->schema_resolved ) {
$this->resolve_schema();
}
return $this->schema;
}