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 |
---|---|
791 |
|
792 | <?php |
793 | /** |
794 | * Fires in the create Application Passwords form. |
795 | * |
796 | * @since 5.6.0 |
797 | * |
798 | * @param WP_User $profile_user The current WP_User object. |
799 | */ |
800 | do_action( 'wp_create_application_password_form', $profile_user ); |
801 | ?> |
802 |
|
803 | <button type="button" name="do_new_application_password" id="do_new_application_password" class="button button-secondary"><?php _e( 'Add New Application Password' ); ?></button> |
804 | </div> |
805 | <?php else : ?> |
806 | <div class="notice notice-error inline"> |
807 | <p><?php _e( 'Your website appears to use Basic Authentication, which is not currently compatible with Application Passwords.' ); ?></p> |
808 | </div> |
809 | <?php endif; ?> |