Automattic\WooCommerce\StoreApi\Routes\V1
CartItems::get_path_regex
Get the path of this rest route.
Метод класса: CartItems{}
Хуков нет.
Возвращает
string.
Использование
$result = CartItems::get_path_regex();
Код CartItems::get_path_regex() CartItems::get path regex WC 11.2.2
public static function get_path_regex() {
return '/cart/items';
}