Abstract_Account_Api::delete_account_by_id( string $account_id )
Delete an account by ID.
Contents
Parameters
- $account_id
-
(string) (Required) The id of the single account.
Return
(bool) Whether the account has been deleted and the access token revoked.
Source
File: src/Tribe/Integrations/Abstract_Account_Api.php
public function delete_account_by_id( $account_id ) {
delete_option( $this->single_account_prefix . $account_id );
$this->delete_from_list_of_accounts( $account_id );
return true;
}
Changelog
| Version | Description |
|---|---|
| 1.9.0 | Introduced. |