Abstract_Account_Api::get_account_by_id( string $account_id )
Get a Single Account by id.
Contents
Parameters
- $account_id
-
(string) (Required) The id of the single account.
Return
(TribeEventsVirtualIntegrationsarray<string|TribeEventsVirtualIntegrationsstring>) $account The account data or empty array if no account.
Source
File: src/Tribe/Integrations/Abstract_Account_Api.php
public function get_account_by_id( $account_id ) {
return get_option( $this->single_account_prefix . $account_id, [] );
}
Changelog
| Version | Description |
|---|---|
| 1.9.0 | Introduced. |