Automattic\WooCommerce\Admin\API\Reports\PerformanceIndicators
Controller::get_public_allowed_item_schema
Get schema for the list of allowed performance indicators.
Method of the class: Controller{}
No Hooks.
Returns
array. $schema
Usage
$Controller = new Controller(); $Controller->get_public_allowed_item_schema();
Controller::get_public_allowed_item_schema() Controller::get public allowed item schema code WC 11.0.1
public function get_public_allowed_item_schema() {
$schema = $this->get_public_item_schema();
unset( $schema['properties']['value'] );
unset( $schema['properties']['format'] );
return $schema;
}