Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: rightnow_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
343           } else {
344                printf('Theme <span class="b">%1$s</span>', $ct->title);
345           }
346      }
347      echo '</p>';
348
349      update_right_now_message();
350
351      echo "\n\t".'<br class="clear" /></div>';
352      do_action( 'rightnow_end' );
353      do_action( 'activity_box_end' );
354 }
355
356 function wp_dashboard_quick_press() {
357      $drafts = false;
358      if ( 'post' === strtolower( $_SERVER['REQUEST_METHOD'] ) && isset( $_POST['action'] ) && 0 === strpos( $_POST['action'], 'post-quickpress' ) && (int) $_POST['post_ID'] ) {
359           $view = get_permalink( $_POST['post_ID'] );
360           $edit = esc_url( get_edit_post_link( $_POST['post_ID'] ) );
361           if ( 'post-quickpress-publish' == $_POST['action'] ) {