Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: mu_activity_box_end

To save our bandwidth, we show only a snippet of code around each occurence of the hook. View complete file in SVN (without highlighting).

Understanding Source Code

The best way to understand what a hook does is to look at where it occurs in the source code.

Remember, this hook may occur in more than one file. Moreover, the hook's context may change from version to version.

Source View

Line Code
447
448      <form action="<?php echo network_admin_url('sites.php'); ?>" method="get">
449           <p>
450                <input type="search" name="s" value="" size="30" autocomplete="off" />
451                <?php submit_button( __( 'Search Sites' ), 'button', 'submit', false, array( 'id' => 'submit_sites' ) ); ?>
452           </p>
453      </form>
454 <?php
455      do_action( 'mu_rightnow_end' );
456      do_action( 'mu_activity_box_end' );
457 }
458
459 function wp_dashboard_quick_press() {
460      global $post_ID;
461
462      $drafts = false;
463      if ( 'post' === strtolower( $_SERVER['REQUEST_METHOD'] ) && isset( $_POST['action'] ) && 0 === strpos( $_POST['action'], 'post-quickpress' ) && (int) $_POST['post_ID'] ) {
464           $view = get_permalink( $_POST['post_ID'] );
465           $edit = esc_url( get_edit_post_link( $_POST['post_ID'] ) );