Automattic\WooCommerce\StoreApi\Routes\V1

Order::get_path_regex │ public static │ WC 1.0

Get the path of this rest route.

Метод класса: Order{}

Хуков нет.

Возвращает

string.

Использование

$result = Order::get_path_regex();

Код Order::get_path_regex() WC 11.3.0

public static function get_path_regex() {
	return '/order/(?P<id>[\d]+)';
}