Alert: This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.
WebhookSignature::getTimestamp( string $header )
Extracts the timestamp in a signature header.
Description Description
Parameters Parameters
- $header
-
(Required) the signature header
Return Return
(int) the timestamp contained in the header, or -1 if no valid timestamp is found
Source Source
File: includes/gateways/stripe/vendor/stripe/stripe-php/lib/WebhookSignature.php