WordPress at a glance
class is not described

WC_REST_Product_Attributes_V2_Controller{} WC 1.0

REST API Product Attributes controller class.

No Hooks.

Return

Null. Nothing.

Usage

$WC_REST_Product_Attributes_V2_Controller = new WC_REST_Product_Attributes_V2_Controller();
// use class methods

Methods

{{methods_list}}

Notes

  • Package: Automattic/WooCommerce/RestApi

Code of WC REST Product Attributes V2 Controller: woocommerce/packages/woocommerce-rest-api/src/Controllers/Version2/class-wc-rest-product-attributes-v2-controller.php WC 3.7.0

<?php
class WC_REST_Product_Attributes_V2_Controller extends WC_REST_Product_Attributes_V1_Controller {

	/**
	 * Endpoint namespace.
	 *
	 * @var string
	 */
	protected $namespace = 'wc/v2';
}