Automattic\WooCommerce\StoreApi\Routes\V1
ProductCategoriesById::get_path_regex
Get the path of this rest route.
Method of the class: ProductCategoriesById{}
No Hooks.
Returns
String.
Usage
$result = ProductCategoriesById::get_path_regex();
ProductCategoriesById::get_path_regex() ProductCategoriesById::get path regex code WC 10.8.1
public static function get_path_regex() {
return '/products/categories/(?P<id>[\d]+)';
}