Automattic\WooCommerce\StoreApi\Routes\V1\Agentic
CheckoutSessionsComplete::get_path_regex
Get the path regex for this REST route.
Метод класса: CheckoutSessionsComplete{}
Хуков нет.
Возвращает
Строку.
Использование
$result = CheckoutSessionsComplete::get_path_regex();
Код CheckoutSessionsComplete::get_path_regex() CheckoutSessionsComplete::get path regex WC 10.5.0
public static function get_path_regex() {
return '/checkout_sessions/(?P<checkout_session_id>[a-zA-Z0-9._-]+)/complete';
}