wp_get_user_request

Advertisement

Summery Summery

Return the user request object for the specified request ID.

Syntax Syntax

wp_get_user_request( int $request_id )

Parameters Parameters

$request_id

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

Return Return

(WP_User_Request|false)

Source Source

File: wp-includes/user.php

	}

	if ( ! $expiration_time || time() > $expiration_time ) {
		return new WP_Error( 'expired_key', __( 'The confirmation email has expired.' ) );
	}

	return true;
}

/**

Advertisement

Changelog Changelog

Changelog
Version Description
4.9.6 Introduced.

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.