Automattic\WooCommerce\StoreApi\Routes\V1
ProductAttributesById::get_path_regex
Get the path of this rest route.
Метод класса: ProductAttributesById{}
Хуков нет.
Возвращает
Строку.
Использование
$result = ProductAttributesById::get_path_regex();
Код ProductAttributesById::get_path_regex() ProductAttributesById::get path regex WC 10.6.2
public static function get_path_regex() {
return '/products/attributes/(?P<id>[\d]+)';
}