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