WP_HTTP_Polling_Sync_Server::check_permissions( WP_REST_Request $request ): bool|WP_Error

In this article

Checks if the current user has permission to access a room.

Parameters

$requestWP_REST_Requestrequired
The REST request.

Return

bool|WP_Error True if user has permission, otherwise WP_Error with details.

Source

Changelog

VersionDescription
7.0.0Introduced.

User Contributed Notes

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