Automattic\WooCommerce\StoreApi\Routes\V1

ProductCategoriesById::get_path_regex()public staticWC 1.0

Get the path of this rest route.

Method of the class: ProductCategoriesById{}

No Hooks.

Return

String.

Usage

$result = ProductCategoriesById::get_path_regex();

ProductCategoriesById::get_path_regex() code WC 9.0.1

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