Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: 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
401                printf( __('Theme <span class="b">%1$s</span>'), $ct->title );
402           }
403      }
404      echo '</p>';
405
406      update_right_now_message();
407
408      echo "\n\t".'<br class="clear" /></div>';
409      do_action( 'rightnow_end' );
410      do_action( 'activity_box_end' );
411 }
412
413 function wp_network_dashboard_right_now() {
414      $actions = array();
415      if ( current_user_can('create_sites') )
416           $actions['create-site'] = '<a href="' . network_admin_url('site-new.php') . '">' . __( 'Create a New Site' ) . '</a>';
417      if ( current_user_can('create_users') )
418           $actions['create-user'] = '<a href="' . network_admin_url('user-new.php') . '">' . __( 'Create a New User' ) . '</a>';
419