Automattic\WooCommerce\StoreApi\Routes\V1\Agentic
CheckoutSessionsComplete::get_path_regex
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() CheckoutSessionsComplete::get path regex code WC 10.7.0
public static function get_path_regex() {
return '/checkout_sessions/(?P<checkout_session_id>[a-zA-Z0-9._-]+)/complete';
}