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