Abstract_Account_Api::refresh_access_token( string $id, string $refresh_token )
Returns the current API access token.
Contents
If not available, then a new token will be fetched.
Parameters
- $id
-
(string) (Required)
- $refresh_token
-
(string) (Required) The API refresh token for the account.
Return
(string) The API access token, or an empty string if the token cannot be fetched.
Source
File: src/Tribe/Integrations/Abstract_Account_Api.php
abstract function refresh_access_token( $id, $refresh_token );
Changelog
| Version | Description |
|---|---|
| 1.9.0 | Introduced. |