WordPress at Your Fingertips
function is not described

Automattic\WooCommerce\Blocks\StoreApi\Schemas

AbstractSchema::get_public_item_schema() public WC 1.0

Returns the public schema.

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

No Hooks.

Return

Array.

Usage

$AbstractSchema = new AbstractSchema();
$AbstractSchema->get_public_item_schema();

Code of AbstractSchema::get_public_item_schema() WC 5.6.0

public function get_public_item_schema() {
	$schema = $this->get_item_schema();

	foreach ( $schema['properties'] as &$property ) {
		unset( $property['arg_options'] );
	}

	return $schema;
}