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

Top ↑

See also


Top ↑

Parameters

$request_id

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


Top ↑

Return

(WP_User_Request|false)


Top ↑

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


Top ↑

Changelog

Changelog
VersionDescription
5.4.0Use wp_get_user_request()
4.9.6Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.

Show More