WP_Sync_Storage::get_update_countpublicWP 7.0.0

Gets the total number of stored updates for a given room.

Method of the class: WP_Sync_Storage{}

No Hooks.

Returns

Int. Total number of updates.

Usage

$WP_Sync_Storage = new WP_Sync_Storage();
$WP_Sync_Storage->get_update_count( $room ): int;
$room(string) (required)
Room identifier.

Changelog

Since 7.0.0 Introduced.

WP_Sync_Storage::get_update_count() code WP 7.0

public function get_update_count( string $room ): int;