Automattic\WooCommerce\StoreApi\Routes\V1

CartAddItem::get_path_regex │ public static │ WC 1.0

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() code WC 11.1.2

public static function get_path_regex() {
	return '/cart/add-item';
}