W3cubDocs

/WordPress

wp_get_user_request_data( int $request_id )

This function has been deprecated. Use wp_get_user_request() instead.

Return the user request object for the specified request ID.

Description

See also

Parameters

$request_id

(int) (Required) The ID of the user request.

Return

(WP_User_Request|false)

Source

File: wp-includes/deprecated.php

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 );
}

Changelog

Version Description
5.4.0 Use wp_get_user_request()
4.9.6 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/wp_get_user_request_data