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