Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: wp_authorize_application_password_form

To save our bandwidth, we show only a snippet of code around each occurence of the hook. View complete file in SVN (without highlighting).

Understanding Source Code

The best way to understand what a hook does is to look at where it occurs in the source code.

Remember, this hook may occur in more than one file. Moreover, the hook's context may change from version to version.

Source View

Line Code
249                      * @param array   $request {
250                      *     The array of request data. All arguments are optional and may be empty.
251                      *
252                      *     @type string $app_name    The suggested name of the application.
253                      *     @type string $success_url The url the user will be redirected to after approving the application.
254                      *     @type string $reject_url  The url the user will be redirected to after rejecting the application.
255                      * }
256                      * @param WP_User $user The user authorizing the application.
257                      */
258                     do_action( 'wp_authorize_application_password_form', $request, $user );
259                     ?>
260
261                     <?php
262                     submit_button(
263                          __( 'Yes, I approve of this connection' ),
264                          'primary',
265                          'approve',
266                          false,
267                          array(