Automattic\WooCommerce\StoreApi\Schemas\V1
AbstractSchema::get_public_item_schema()
Returns the public schema.
Method of the class: AbstractSchema{}
No Hooks.
Return
Array
.
Usage
$AbstractSchema = new AbstractSchema(); $AbstractSchema->get_public_item_schema();
AbstractSchema::get_public_item_schema() AbstractSchema::get public item schema code WC 9.2.3
public function get_public_item_schema() { $schema = $this->get_item_schema(); if ( isset( $schema['properties'] ) ) { $schema['properties'] = $this->remove_arg_options( $schema['properties'] ); } return $schema; }