Warning: This function has been deprecated. Use wp_get_user_request() instead.
wp_get_user_request_data() WordPress Function
The wp_get_user_request_data() function is used to retrieve data for a specific user request. This function is used by the User Request API to get data for a user request.
wp_get_user_request_data( int $request_id ) #
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 ); }
Expand full source codeCollapse full source codeView on TracView on GitHub
Changelog
Version | Description |
---|---|
5.4.0 | Use wp_get_user_request() |
4.9.6 | Introduced. |