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 |
|---|---|
| 470 | </form> |
| 471 | |
| 472 | <form name="searchform" action="<?php echo network_admin_url('sites.php'); ?>" method="get"> |
| 473 | <p> |
| 474 | <input type="text" name="s" value="" size="17" /> |
| 475 | <?php submit_button( __( 'Search Sites' ), 'button', 'submit', false, array( 'id' => 'submit_sites' ) ); ?> |
| 476 | </p> |
| 477 | </form> |
| 478 | <?php |
| 479 | do_action( 'mu_rightnow_end' ); |
| 480 | do_action( 'mu_activity_box_end' ); |
| 481 | } |
| 482 | |
| 483 | function wp_dashboard_quick_press() { |
| 484 | global $post_ID; |
| 485 | |
| 486 | $drafts = false; |
| 487 | if ( 'post' === strtolower( $_SERVER['REQUEST_METHOD'] ) && isset( $_POST['action'] ) && 0 === strpos( $_POST['action'], 'post-quickpress' ) && (int) $_POST['post_ID'] ) { |
| 488 | $view = get_permalink( $_POST['post_ID'] ); |