wp_validate_user_request_key


wp_validate_user_request_key ( $request_id, $key )

Parameters:
  • (string) $request_id ID of the request being confirmed.
  • (string) $key Provided key to validate.
Returns:
  • (bool|WP_Error) WP_Error on failure, true on success.
Defined at:

Description

Validate a user request by comparing the key with the request's key.

Related Functions

wp_generate_user_request_key, wp_create_user_request, wp_send_user_request, wp_get_user_request_data, rest_validate_request_arg

Top Google Results

User discussions

wpseek mobile