wp_authorize_application_password_form_approved_no_js

动作钩子


do_action( 'wp_authorize_application_password_form_approved_no_js', $new_password, $request, $user )
参数
  • (string)
    $new_password
    The newly generated application password.
    Required:
  • (array)
    $request
    The array of request data. All arguments are optional and may be empty.
    Required:
  • (WP_User)
    $user
    The user authorizing the application.
    Required:
定义位置
  • wp-admin/authorize-application.php
    , line 228
引入
5.6.1
弃用

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

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

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