• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer
WooCommerce a2z

WooCommerce a2z

WooCommerce

  • Home
  • Plugins
  • Blocks
  • Shortcodes
  • APIs
  • Classes
  • Files
  • Hooks
  • Sitemap
  • Blog
Home / APIs / AbstractSchema::get_extended_schema() – Returns extended schema for a specific endpoint

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 ),
    ];
  }
 

 View on GitHub View on Trac

Published: 22nd February 2021 | Last updated: 22nd February 2021

Primary Sidebar

Information

Function name: AbstractSchema::get_extended_schema
Class ref: AbstractSchema
Plugin ref: WooCommerce
Version: 5.1.0
Sourcefile: packages/woocommerce-blocks/src/StoreApi/Schemas/AbstractSchema.php
File ref: packages/woocommerce-blocks/src/StoreApi/Schemas/AbstractSchema.php
Deprecated?: No
API Letters: A,E,G,S

Footer

WooCommerce a2z
WooCommerce a2z
WooCommerce
WordPress 5.7.1
WordPress a2z
WordPress core a2z
Genesis Theme Framework a2z
Jetpack a2z
WordPress develop tests
Easy Digital Downloads a2z
WooCommerce a2z
Yoast SEO a2z
WordPress Blocks

Site:  woocommerce.wp-a2z.org
© Copyright WooCommerce a2z 2014-2021. All rights reserved.


Website designed and developed by Herb Miller
Proudly powered by WordPress and oik plugins

  • Home
  • Blog
  • Sitemap
  • Sites