wp_authorize_application_password_form WordPress Action Hook

The wp_authorize_application_password_form hook allows you to add a form to the WordPress login page that allows users to authorize access to their account by an external application. This is useful if you have an external application that needs to access your WordPress account data.

do_action( 'wp_authorize_application_password_form', array $request, WP_User $user ) #

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


Parameters

$request

(array)The array of request data. All arguments are optional and may be empty.

  • 'app_name'
    (string) The suggested name of the application.
  • 'success_url'
    (string) The url the user will be redirected to after approving the application.
  • 'reject_url'
    (string) The url the user will be redirected to after rejecting the application.

$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.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.