wppaste
WordPress

WP_User_Request

Since
4.9.6
Source
wp-includes/class-wp-user-request.php:9
WP_User_Request class.

Description

Represents user request data loaded from a WP_Post object.

Compatibility

WordPress
since 4.9.6
  • 6.7.7
  • 6.8.8
  • 6.9.7
  • 7.0.4
  • 7.1.0

Present in every tracked release (6.7.7 to 7.1.0).

Properties · 11

$IDintpublic
Request ID.
$user_idintpublic
User ID.
$emailstringpublic
User email.
$action_namestringpublic
Action name.
$statusstringpublic
Current status.
$created_timestampint|nullpublic
Timestamp this request was created.
$modified_timestampint|nullpublic
Timestamp this request was last modified.
$confirmed_timestampint|nullpublic
Timestamp this request was confirmed.
$completed_timestampint|nullpublic
Timestamp this request was completed.
$request_dataarraypublic
Misc data assigned to this request.
$confirm_keystringpublic
Key used to confirm this request.

Methods · 1

Source code

#[AllowDynamicProperties]final class WP_User_Request {	/**	 * Request ID.	 *	 * @since 4.9.6	 * @var int	 */	public $ID = 0; 	/**	 * User ID.	 *	 * @since 4.9.6	 * @var int	 */	public $user_id = 0; 	/**	 * User email.	 *	 * @since 4.9.6	 * @var string	 */	public $email = ''; 	/**	 * Action name.	 *	 * @since 4.9.6	 * @var string	 */	public $action_name = ''; 	/**	 * Current status.	 *	 * @since 4.9.6	 * @var string	 */	public $status = ''; 	/**	 * Timestamp this request was created.	 *	 * @since 4.9.6	 * @var int|null	 */	public $created_timestamp = null; 	/**	 * Timestamp this request was last modified.	 *	 * @since 4.9.6	 * @var int|null	 */	public $modified_timestamp = null; 	/**	 * Timestamp this request was confirmed.	 *	 * @since 4.9.6	 * @var int|null	 */	public $confirmed_timestamp = null; 	/**	 * Timestamp this request was completed.	 *	 * @since 4.9.6	 * @var int|null	 */	public $completed_timestamp = null; 	/**	 * Misc data assigned to this request.	 *	 * @since 4.9.6	 * @var array	 */

Changelog

Introduced in 4.9.6. Unchanged from 6.7.7 through 7.1.0.

  1. 6.7.7
  2. 6.8.8
  3. 6.9.7
  4. 7.0.4
  5. 7.1.0

Signature, return type and hooks compared across 5 parsed releases.

About this page

Parsed data
Generated from the wordpress-develop 6.8.8 tag, from src/wp-includes/class-wp-user-request.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.
Corrections
Something wrong on this page? Report it and it gets fixed in the next regeneration.