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