Automattic\WooCommerce\StoreApi\Routes\V1

ProductAttributesById::get_path()publicWC 1.0

Get the path of this REST route.

Метод класса: ProductAttributesById{}

Хуков нет.

Возвращает

Строку.

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

$ProductAttributesById = new ProductAttributesById();
$ProductAttributesById->get_path();

Код ProductAttributesById::get_path() WC 8.7.0

public function get_path() {
	return '/products/attributes/(?P<id>[\d]+)';
}