WordPress at a glance
function is not described

Automattic\WooCommerce\Admin\API

Leaderboards::get_public_allowed_item_schema() public WC 1.0

Get schema for the list of allowed leaderboards.

{} It's a method of the class: Leaderboards{}

No Hooks.

Return

Array. $schema

Usage

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

Code of Leaderboards::get_public_allowed_item_schema() WC 5.3.0

<?php
public function get_public_allowed_item_schema() {
	$schema = $this->get_public_item_schema();
	unset( $schema['properties']['rows'] );
	return $schema;
}