Automattic\WooCommerce\StoreApi\Routes\V1

ShopperListsBySlug::get_path_regexpublic staticWC 1.0

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() code WC 10.9.4

public static function get_path_regex() {
	return '/shopper-lists/(?P<slug>[a-z0-9-]+)';
}