Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: wp_create_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
771
772                     <?php
773                     /**
774                      * Fires in the create Application Passwords form.
775                      *
776                      * @since 5.6.0
777                      *
778                      * @param WP_User $profileuser The current WP_User object.
779                      */
780                     do_action( 'wp_create_application_password_form', $profileuser );
781                     ?>
782
783                     <?php submit_button( __( 'Add New Application Password' ), 'secondary', 'do_new_application_password' ); ?>
784                </div>
785           <?php } else { ?>
786                <div class="notice notice-error inline">
787                     <p><?php _e( 'Your website appears to use Basic Authentication, which is not currently compatible with Application Passwords.' ); ?></p>
788                </div>
789           <?php } ?>