Automattic\WooCommerce\StoreApi\Routes\V1
ShopperListItems::get_path_regex
Get the path regex for this REST route.
Method of the class: ShopperListItems{}
No Hooks.
Returns
String.
Usage
$result = ShopperListItems::get_path_regex();
ShopperListItems::get_path_regex() ShopperListItems::get path regex code WC 10.9.1
public static function get_path_regex() {
return '/shopper-lists/(?P<slug>[a-z0-9-]+)/items';
}