Class: WP_User_Request

WP_User_Request class.

Represents user request data loaded from a WP_Post object.

Methods


Properties

Name Type(s) Default Value Summary
ID integer Request ID.
user_id integer User ID.
email integer User email.
action_name string Action name.
status string Current status.
created_timestamp integer | null Timestamp this request was created.
modified_timestamp integer | null Timestamp this request was last modified.
confirmed_timestamp integer Timestamp this request was confirmed.
completed_timestamp integer Timestamp this request was completed.
request_data array Misc data assigned to this request.
confirm_key string Key used to confirm this request.

Methods

WP_User_Request:: __construct( WP_Post | object $post )

Constructor. Since 4.9.6.

Arguments

Name Type(s) Default Value Description
$post WP_Post | object

Post object.


WordPress Developer Newsletter

Stay on top of the latest WordPress API changes, developer tool updates, security alerts and more.