WP hooks navigation: Home/browse • Actions index • Filters index
To save our bandwidth, we show only a snippet of code around each occurence of the hook. View complete file in SVN (without highlighting).
The best way to understand what a hook does is to look at where it occurs in the source code.
do_action( "hook_name" )
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.
Line | Code |
---|---|
276 | $text = _n( 'Tag', 'Tags', $num_tags ); |
277 | if ( current_user_can( 'manage_categories' ) ) { |
278 | $num = "<a href='edit-tags.php'>$num</a>"; |
279 | $text = "<a href='edit-tags.php'>$text</a>"; |
280 | } |
281 | echo '<td class="first b b-tags">' . $num . '</td>'; |
282 | echo '<td class="t tags">' . $text . '</td>'; |
283 |
|
284 | echo "</tr>"; |
285 | do_action('right_now_content_table_end'); |
286 | echo "\n\t</table>\n\t</div>"; |
287 |
|
288 |
|
289 | echo "\n\t".'<div class="table table_discussion">'; |
290 | echo "\n\t".'<p class="sub">' . __('Discussion') . '</p>'."\n\t".'<table>'; |
291 | echo "\n\t".'<tr class="first">'; |
292 |
|
293 | // Total Comments |
294 | $num = '<span class="total-count">' . number_format_i18n($num_comm->total_comments) . '</span>'; |