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 |
|---|---|
| 468 | else |
| 469 | $deletefunction = 'all_delete'; |
| 470 | |
| 471 | wp_redirect( add_query_arg( array( 'updated' => 'true', 'action' => $deletefunction ), network_admin_url( 'users.php' ) ) ); |
| 472 | exit(); |
| 473 | break; |
| 474 | |
| 475 | default: |
| 476 | // Let plugins use us as a post handler easily |
| 477 | do_action( 'network_admin_edit_' . $_GET['action'] ); |
| 478 | wp_redirect( network_admin_url( 'index.php' ) ); |
| 479 | exit(); |
| 480 | break; |
| 481 | } |
| 482 | ?> |
| 483 | |