WC_REST_Product_Brands_Controller{}WC 1.0

REST API Brands controller class.

No Hooks.

Usage

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

Methods

No Methods in class.

Notes

  • Package: WooCommerce\RestApi

WC_REST_Product_Brands_Controller{} code WC 9.5.1

class WC_REST_Product_Brands_Controller extends WC_REST_Product_Categories_Controller {

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

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