Automattic\WooCommerce\Admin\API\Reports\PerformanceIndicators

Controller::get_public_allowed_item_schema()publicWC 1.0

Get schema for the list of allowed performance indicators.

Метод класса: Controller{}

Хуков нет.

Возвращает

Массив. $schema

Использование

$Controller = new Controller();
$Controller->get_public_allowed_item_schema();

Код Controller::get_public_allowed_item_schema() WC 8.7.0

public function get_public_allowed_item_schema() {
	$schema = $this->get_public_item_schema();
	unset( $schema['properties']['value'] );
	unset( $schema['properties']['format'] );
	return $schema;
}