You appear to be a bot. Output may be restricted
Description
Removes an access token from the list of access token.
Usage
$void = Client::remove_access_token( $user_id );
Parameters
- $user_id
- ( int ) required – The user ID to remove the access token for.
Returns
void
Source
File name: wordpress-seo/src/oauth/client.php
Lines:
1 to 10 of 10
public function remove_access_token( $user_id ) { if ( ! isset( $this->access_tokens[ $user_id ] ) ) { return; } unset( $this->access_tokens[ $user_id ] ); $this->update_option(); }