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.
Contents
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.
- 'app_name'
- $user
(WP_User)The user authorizing the application.
Source
Changelog
Version | Description |
---|---|
5.6.0 | Introduced. |