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 |
|---|---|
| 344 | <input type="submit" value="<?php esc_attr_e( 'Apply' ); ?>" name="doaction2" id="doaction2" class="button-secondary action" /> |
| 345 | </div> |
| 346 | <br class="clear" /> |
| 347 | </div> |
| 348 | |
| 349 | </form> |
| 350 | </div> |
| 351 | |
| 352 | <?php |
| 353 | if ( apply_filters( 'show_adduser_fields', true ) ) : |
| 354 | ?> |
| 355 | <div class="wrap" id="form-add-user"> |
| 356 | <h3><?php _e( 'Add User' ) ?></h3> |
| 357 | <form action="ms-edit.php?action=adduser" method="post"> |
| 358 | <table class="form-table"> |
| 359 | <tr class="form-field form-required"> |
| 360 | <th scope="row"><?php _e( 'Username' ) ?></th> |
| 361 | <td><input type="text" class="regular-text" name="user[username]" /></td> |
| 362 | </tr> |