wp_is_authorize_application_password_request_valid
wp_is_authorize_application_password_request_valid ( $request, $user )
Parameters:- (array) request { The array of request data. All arguments are optional and may be empty. @type string $app_name The suggested name of the application. @type string $app_id A UUID provided by the application to uniquely identify it. @type string $success_url The URL the user will be redirected to after approving the application. @type string $reject_url The URL the user will be redirected to after rejecting the application. }
- (WP_User) user The user authorizing the application.
Returns:- (true|WP_Error) True if the request is valid, a WP_Error object contains errors if not.
Defined at:Change Log: - Introduced in WordPress: 5.6.0
- Deprecated in WordPress: —
Description
Checks if the Authorize Application Password request is valid.