WordPress at a glance
function is not described

wp_get_user_request() WP 4.9.6

Return the user request object for the specified request ID.

No Hooks.

Return

WP_User_Request/false.

Usage

wp_get_user_request( $request_id );
$request_id(int) (required)
The ID of the user request.

Changelog

Since 4.9.6 Introduced.

Code of wp_get_user_request() WP 5.5.1

<?php
function wp_get_user_request( $request_id ) {
	$request_id = absint( $request_id );
	$post       = get_post( $request_id );

	if ( ! $post || 'user_request' !== $post->post_type ) {
		return false;
	}

	return new WP_User_Request( $post );
}