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.


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 on Trac


Top ↑

Changelog

Changelog
VersionDescription
5.6.1Corrected action name and signature.
5.6.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.