Source View: right_now_discussion_table_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.

  • Action hooks look like this: do_action( "hook_name" )
  • Filter hooks look like this: 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.

Source View

Line Code
332      if ( current_user_can( 'moderate_comments' ) ) {
333           $num = "<a href='edit-comments.php?comment_status=spam'><span class='spam-count'>$num</span></a>";
334           $text = "<a class='spam' href='edit-comments.php?comment_status=spam'>$text</a>";
335      }
336      echo '<td class="b b-spam">' . $num . '</td>';
337      echo '<td class="last t">' . $text . '</td>';
338
339      echo "</tr>";
340      do_action('right_now_table_end');
341      do_action('right_now_discussion_table_end');
342      echo "\n\t</table>\n\t</div>";
343
344      echo "\n\t".'<div class="versions">';
345      $ct = current_theme_info();
346
347      echo "\n\t<p>";
348      if ( !empty($wp_registered_sidebars) ) {
349           $sidebars_widgets = wp_get_sidebars_widgets();
350           $num_widgets = 0;