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
750
751                     <?php
752                     /**
753                      * Fires in the create Application Passwords form.
754                      *
755                      * @since 5.6.0
756                      *
757                      * @param WP_User $profileuser The current WP_User object.
758                      */
759                     do_action( 'wp_create_application_password_form', $profileuser );
760                     ?>
761
762                     <?php submit_button( __( 'Add New Application Password' ), 'secondary', 'do_new_application_password' ); ?>
763                </div>
764           <?php } else { ?>
765                <div class="notice notice-error inline">
766                     <p><?php _e( 'Your website appears to use Basic Authentication, which is not currently compatible with Application Passwords.' ); ?></p>
767                </div>
768           <?php } ?>