Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: right_now_content_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
318      $text = _n( 'Tag', 'Tags', $num_tags );
319      if ( current_user_can( 'manage_categories' ) ) {
320           $num = "<a href='edit-tags.php'>$num</a>";
321           $text = "<a href='edit-tags.php'>$text</a>";
322      }
323      echo '<td class="first b b-tags">' . $num . '</td>';
324      echo '<td class="t tags">' . $text . '</td>';
325
326      echo "</tr>";
327      do_action('right_now_content_table_end');
328      echo "\n\t</table>\n\t</div>";
329
330
331      echo "\n\t".'<div class="table table_discussion">';
332      echo "\n\t".'<p class="sub">' . __('Discussion') . '</p>'."\n\t".'<table>';
333      echo "\n\t".'<tr class="first">';
334
335      // Total Comments
336      $num = '<span class="total-count">' . number_format_i18n($num_comm->total_comments) . '</span>';