WP_Sync_Storage::get_awareness_state
Gets awareness state for a given room.
Method of the class: WP_Sync_Storage{}
No Hooks.
Returns
Array
Usage
$WP_Sync_Storage = new WP_Sync_Storage(); $WP_Sync_Storage->get_awareness_state( $room ): array;
- $room(string) (required)
- Room identifier.
Changelog
| Since 7.0.0 | Introduced. |
WP_Sync_Storage::get_awareness_state() WP Sync Storage::get awareness state code WP 7.0
public function get_awareness_state( string $room ): array;