WP hooks navigation: Home/browse • Actions index • Filters index
To save our bandwidth, we show only a snippet of code around each occurence of the hook. View complete file in SVN (without highlighting).
The best way to understand what a hook does is to look at where it occurs in the source code.
do_action( "hook_name" )
apply_filters( "hook_name", "what_to_filter" )
.Remember, this hook may occur in more than one file. Moreover, the hook's context may change from version to version.
Line | Code |
---|---|
785 |
|
786 | <?php |
787 | /** |
788 | * Fires in the create Application Passwords form. |
789 | * |
790 | * @since 5.6.0 |
791 | * |
792 | * @param WP_User $profile_user The current WP_User object. |
793 | */ |
794 | do_action( 'wp_create_application_password_form', $profile_user ); |
795 | ?> |
796 |
|
797 | <button type="button" name="do_new_application_password" id="do_new_application_password" class="button button-secondary"><?php _e( 'Add New Application Password' ); ?></button> |
798 | </div> |
799 | <?php else : ?> |
800 | <div class="notice notice-error inline"> |
801 | <p><?php _e( 'Your website appears to use Basic Authentication, which is not currently compatible with Application Passwords.' ); ?></p> |
802 | </div> |
803 | <?php endif; ?> |