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.


Top ↑

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.

Top ↑

Source

File: wp-admin/authorize-application.php. View all references

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

Top ↑

Changelog

Changelog
Version Description
5.6.1 Corrected action name and signature.
5.6.0 Introduced.

Top ↑

User Contributed Notes

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