Automattic\WooCommerce\StoreApi\Routes\V1\Agentic

CheckoutSessionsComplete::get_path_regex │ public static │ WC 1.0

Get the path regex for this REST route.

Method of the class: CheckoutSessionsComplete{}

No Hooks.

Returns

string.

Usage

$result = CheckoutSessionsComplete::get_path_regex();

CheckoutSessionsComplete::get_path_regex() code WC 11.1.2

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