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 |
---|---|
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 } ?> |