Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

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

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
347      $text = _nx( 'Spam', 'Spam', $num_comm->spam, 'comment' );
348      if ( current_user_can( 'moderate_comments' ) ) {
349           $num = "<a href='edit-comments.php?comment_status=spam'><span class='spam-count'>$num</span></a>";
350           $text = "<a class='spam' href='edit-comments.php?comment_status=spam'>$text</a>";
351      }
352      echo '<td class="b b-spam">' . $num . '</td>';
353      echo '<td class="last t">' . $text . '</td>';
354
355      echo "</tr>";
356      do_action('right_now_table_end');
357      do_action('right_now_discussion_table_end');
358      echo "\n\t</table>\n\t</div>";
359
360      echo "\n\t".'<div class="versions">';
361      $theme = wp_get_theme();
362
363      echo "\n\t<p>";
364
365      if ( $theme->errors() ) {