Automattic\WooCommerce\Blocks\StoreApi\Routes
ProductAttributesById::get_path() public WC 1.0
Get the path of this REST route.
{} Это метод класса: ProductAttributesById{}
Хуков нет.
Возвращает
Строку
. Null. Ничего.
Использование
$ProductAttributesById = new ProductAttributesById(); $ProductAttributesById->get_path();
Код ProductAttributesById::get_path() ProductAttributesById::get path WC 5.1.0
public function get_path() {
return '/products/attributes/(?P<id>[\d]+)';
}