wp_authorize_application_password_form

动作钩子


do_action( 'wp_authorize_application_password_form', $request, $user )
参数
  • (array)
    $request
    {
    The array of request data. All arguments are optional and may be empty.

    @type string $app_name The suggested name of the application.
    @type string $success_url The URL the user will be redirected to after approving the application.
    @type string $reject_url The URL the user will be redirected to after rejecting the application.
    }

    Required:
  • (WP_User)
    $user
    The user authorizing the application.
    Required:
定义位置
  • wp-admin/authorize-application.php
    , line 258
引入
5.6.0
弃用

Fires in the Authorize Application Password form before the submit buttons.

do_action( 'wp_authorize_application_password_form', $request, $user );