Automattic\WooCommerce\Api\Infrastructure\Schema
CustomScalarType::get_metadata
Type-level metadata entries declared in the config, keyed by name.
Метод класса: CustomScalarType{}
Хуков нет.
Возвращает
Массив<Строку,. bool|int|float|string|null>
Использование
$CustomScalarType = new CustomScalarType(); $CustomScalarType->get_metadata(): array;
Код CustomScalarType::get_metadata() CustomScalarType::get metadata WC 10.9.1
public function get_metadata(): array {
return $this->config['metadata'] ?? array();
}