Automattic\WooCommerce\StoreApi\Routes\V1
ProductCategoriesById::get_path()
Get the path of this REST route.
Метод класса: ProductCategoriesById{}
Хуков нет.
Возвращает
Строку
.
Использование
$ProductCategoriesById = new ProductCategoriesById(); $ProductCategoriesById->get_path();
Код ProductCategoriesById::get_path() ProductCategoriesById::get path WC 7.5.1
public function get_path() { return '/products/categories/(?P<id>[\d]+)'; }