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 |
---|---|
408 | } elseif ( 'category' == $taxonomy ) { |
409 | $tagsel = 'category_name'; |
410 | } elseif ( ! empty($tax->query_var) ) { |
411 | $tagsel = $tax->query_var; |
412 | } else { |
413 | $tagsel = $taxonomy; |
414 | } |
415 |
|
416 | $pad = str_repeat( '— ', max(0, $level) ); |
417 | $name = apply_filters( 'term_name', $pad . ' ' . $tag->name, $tag ); |
418 | $qe_data = get_term($tag->term_id, $taxonomy, object, 'edit'); |
419 | $edit_link = "edit-tags.php?action=edit&taxonomy=$taxonomy&post_type=$post_type&tag_ID=$tag->term_id"; |
420 |
|
421 | $out = ''; |
422 | $out .= '<tr id="tag-' . $tag->term_id . '"' . $row_class . '>'; |
423 |
|
424 |
|
425 | $columns = get_column_headers($current_screen); |
426 | $hidden = get_hidden_columns($current_screen); |