You appear to be a bot. Output may be restricted
Description
Returns extended schema for a specific endpoint.
Usage
$array = AbstractSchema::get_extended_schema( $endpoint, $passed_args );
Parameters
- $endpoint
- ( string ) required – The endpoint identifer.
- $passed_args
- ( mixed ) optional –
Returns
array the data that will get added.
Source
File name: woocommerce/packages/woocommerce-blocks/src/StoreApi/Schemas/AbstractSchema.php
Lines:
1 to 9 of 9
protected function get_extended_schema( $endpoint, ...$passed_args ) { return [ 'description' => __( 'Extensions data.', 'woocommerce' ), 'type' => [ 'object' ], 'context' => [ 'view', 'edit' ], 'readonly' => true, 'properties' => $this->extend->get_endpoint_schema( $endpoint, $passed_args ), ]; }