Automattic\WooCommerce\StoreApi\Routes\V1\Agentic

CheckoutSessionsUpdate::get_path_regexpublic staticWC 1.0

Get the path regex for this REST route.

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

Хуков нет.

Возвращает

Строку.

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

$result = CheckoutSessionsUpdate::get_path_regex();

Код CheckoutSessionsUpdate::get_path_regex() WC 10.5.0

public static function get_path_regex() {
	return '/checkout_sessions/(?P<checkout_session_id>[a-zA-Z0-9._-]+)';
}