Automattic\WooCommerce\StoreApi\Schemas\V1

AbstractSchema::get_extended_data()protectedWC 1.0

Returns extended data for a specific endpoint.

Method of the class: AbstractSchema{}

No Hooks.

Return

Object. the data that will get added.

Usage

// protected - for code of main (parent) or child class
$result = $this->get_extended_data( $endpoint, ...$passed_args );
$endpoint(string) (required)
The endpoint identifier.
...$passed_args(array) (required)
An array of arguments to be passed to callbacks.

AbstractSchema::get_extended_data() code WC 8.7.0

protected function get_extended_data( $endpoint, ...$passed_args ) {
	return $this->extend->get_endpoint_data( $endpoint, $passed_args );
}