wp_get_user_request_data()WP 4.9.6

Deprecated from version 5.4.0. It is no longer supported and can be removed in future releases. Use wp_get_user_request() instead.

Return the user request object for the specified request ID.

No Hooks.

Return

WP_User_Request|false.

Usage

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

Notes

Changelog

Since 4.9.6 Introduced.
Deprecated since 5.4.0 Use wp_get_user_request()

wp_get_user_request_data() code WP 6.7.1

function wp_get_user_request_data( $request_id ) {
	_deprecated_function( __FUNCTION__, '5.4.0', 'wp_get_user_request()' );
	return wp_get_user_request( $request_id );
}