Automattic\WooCommerce\Api\Infrastructure\Schema
InterfaceType::get_metadata
Type-level metadata entries declared in the config, keyed by name.
Method of the class: InterfaceType{}
No Hooks.
Returns
Array
Usage
$InterfaceType = new InterfaceType(); $InterfaceType->get_metadata(): array;
InterfaceType::get_metadata() InterfaceType::get metadata code WC 10.9.4
public function get_metadata(): array {
return $this->config['metadata'] ?? array();
}