Automattic\WooCommerce\StoreApi\Routes\V1

ShopperListItemsByKey::get_path_regexpublic staticWC 1.0

Get the path regex for this REST route.

Метод класса: ShopperListItemsByKey{}

Хуков нет.

Возвращает

Строку.

Использование

$result = ShopperListItemsByKey::get_path_regex();

Код ShopperListItemsByKey::get_path_regex() WC 10.9.1

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