wp_authorize_application_password_form_approved_no_js WordPress Action Hook
This hook is triggered when a user approves an application password, but Javascript is disabled in their browser.
do_action( 'wp_authorize_application_password_form_approved_no_js', string $new_password , array $request , WP_User $user ) #
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_password
(string)The newly generated application password.
- $request
(array)The array of request data. All arguments are optional and may be empty.
- $user
(WP_User)The user authorizing the application.
Source
Changelog
Version | Description |
---|---|
5.6.1 | Corrected action name and signature. |
5.6.0 | Introduced. |