Automattic\WooCommerce\StoreApi\Routes\V1

ProductCategoriesById::get_path()publicWC 1.0

Get the path of this REST route.

Method of the class: ProductCategoriesById{}

No Hooks.

Return

String.

Usage

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

ProductCategoriesById::get_path() code WC 8.7.0

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