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 |
---|---|
242 | return ' '; |
243 | } |
244 |
|
245 | function column_name( $tag ) { |
246 | global $taxonomy, $tax, $post_type; |
247 |
|
248 | $default_term = get_option( 'default_' . $taxonomy ); |
249 |
|
250 | $pad = str_repeat( '— ', max( 0, $this->level ) ); |
251 | $name = apply_filters( 'term_name', $pad . ' ' . $tag->name, $tag ); |
252 | $qe_data = get_term( $tag->term_id, $taxonomy, OBJECT, 'edit' ); |
253 | $edit_link = get_edit_term_link( $tag->term_id, $taxonomy, $post_type ); |
254 |
|
255 | $out = '<strong><a class="row-title" href="' . $edit_link . '" title="' . esc_attr( sprintf( __( 'Edit “%s”' ), $name ) ) . '">' . $name . '</a></strong><br />'; |
256 |
|
257 | $actions = array(); |
258 | if ( current_user_can( $tax->cap->edit_terms ) ) { |
259 | $actions['edit'] = '<a href="' . $edit_link . '">' . __( 'Edit' ) . '</a>'; |
260 | $actions['inline hide-if-no-js'] = '<a href="#" class="editinline">' . __( 'Quick Edit' ) . '</a>'; |