Automattic\WooCommerce\StoreApi\Routes\V1
CartAddItem::get_path_regex
Get the path of this rest route.
Method of the class: CartAddItem{}
No Hooks.
Returns
String.
Usage
$result = CartAddItem::get_path_regex();
CartAddItem::get_path_regex() CartAddItem::get path regex code WC 10.7.0
public static function get_path_regex() {
return '/cart/add-item';
}