do_action( ‘wp_authorize_application_password_form_approved_no_js’, string $new_password, array $request, WP_User $user )

In this article

Fires in the Authorize Application Password new password section in the no-JS version.

Description

In most cases, this should be used in combination with the ‘wp_application_passwords_approve_app_request_success’ action to ensure that both the JS and no-JS variants are handled.

Parameters

$new_passwordstring
The newly generated application password.
$requestarray
The array of request data. All arguments are optional and may be empty.
$userWP_User
The user authorizing the application.

Source

do_action( 'wp_authorize_application_password_form_approved_no_js', $new_password, $request, $user );

Changelog

VersionDescription
5.6.1Corrected action name and signature.
5.6.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.