WP_Sync_Post_Meta_Storage::get_storage_post_id( string $room ): int|null

In this article

This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only by core. It is listed here for completeness.

Gets or creates the storage post for a given room.

Description

Each room gets its own dedicated post so that post meta cache invalidation is scoped to a single room rather than all of them.

Parameters

$roomstringrequired
Room identifier.

Return

int|null Post ID.

Source

Changelog

VersionDescription
7.0.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.