WC_REST_Product_Brands_V2_Controller{} │ WC 1.0└─ WC_REST_Product_Categories_V2_Controller

REST API Brands controller class.

Хуков нет.

Использование

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

Методы

Нет Методов у класса.

Заметки

Пакет: WooCommerce\RestApi

Код WC_REST_Product_Brands_V2_Controller{} WC 11.2.2

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';
}