Automattic\WooCommerce\StoreApi\Routes\V1
ShopperListsBySlug::get_path_regex
Get the path regex for this REST route.
Метод класса: ShopperListsBySlug{}
Хуков нет.
Возвращает
Строку.
Использование
$result = ShopperListsBySlug::get_path_regex();
Код ShopperListsBySlug::get_path_regex() ShopperListsBySlug::get path regex WC 11.0.1
public static function get_path_regex() {
return '/shopper-lists/(?P<slug>[a-z0-9-]+)';
}