WC_REST_Product_Brands_V2_Controller{}WC 1.0

REST API Brands controller class.

No Hooks.

Usage

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

Methods

No Methods in class.

Notes

  • Package: WooCommerce\RestApi

WC_REST_Product_Brands_V2_Controller{} code WC 9.6.1

class WC_REST_Product_Brands_V2_Controller extends WC_REST_Product_Categories_V2_Controller {

	/**
	 * Route base.
	 *
	 * @var string
	 */
	protected $rest_base = 'products/brands';

	/**
	 * Taxonomy.
	 *
	 * @var string
	 */
	protected $taxonomy = 'product_brand';
}