WordPress at Your Fingertips
function is not described

Automattic\WooCommerce\Blocks\StoreApi\Routes

ProductCategoriesById::get_path() public WC 1.0

Get the path of this REST route.

{} It's a method of the class: ProductCategoriesById{}

No Hooks.

Return

String.

Usage

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

Code of ProductCategoriesById::get_path() WC 5.8.0

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