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