Automattic\WooCommerce\StoreApi\Routes\V1

ProductTags::get_route_responseprotectedWC 1.0

Get a collection of terms.

Method of the class: ProductTags{}

No Hooks.

Returns

\WP_REST_Response.

Usage

// protected - for code of main (parent) or child class
$result = $this->get_route_response( $request );
$request(WP_REST_Request) (required)
Request object.

ProductTags::get_route_response() code WC 9.9.5

protected function get_route_response( \WP_REST_Request $request ) {
	return $this->get_terms_response( 'product_tag', $request );
}