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 |
|---|---|
| 266 | ?> |
| 267 | </select></td> |
| 268 | </tr> |
| 269 | </table> |
| 270 | <?php wp_nonce_field( 'add-user', '_wpnonce_add-user' ) ?> |
| 271 | <?php submit_button( __( 'Add User' ), 'primary', 'add-user', true, array( 'id' => 'submit-add-existing-user' ) ); ?> |
| 272 | </form> |
| 273 | <?php endif; ?> |
| 274 | |
| 275 | <?php if ( current_user_can( 'create_users' ) && apply_filters( 'show_network_site_users_add_new_form', true ) ) : ?> |
| 276 | <h3 id="add-new-user"><?php _e( 'Add New User' ); ?></h3> |
| 277 | <form action="<?php echo network_admin_url('site-users.php?action=newuser'); ?>" id="newuser" method="post"> |
| 278 | <input type="hidden" name="id" value="<?php echo esc_attr( $id ) ?>" /> |
| 279 | <table class="form-table"> |
| 280 | <tr> |
| 281 | <th scope="row"><?php _e( 'Username' ) ?></th> |
| 282 | <td><input type="text" class="regular-text" name="user[username]" /></td> |
| 283 | </tr> |
| 284 | <tr> |