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 |
|---|---|
| 349 | * current level in the term hierarchy. |
| 350 | * |
| 351 | * @since 2.5.0 |
| 352 | * |
| 353 | * @see WP_Terms_List_Table::column_name() |
| 354 | * |
| 355 | * @param string $pad_tag_name The term name, padded if not top-level. |
| 356 | * @param object $tag Term object. |
| 357 | */ |
| 358 | $name = apply_filters( 'term_name', $pad . ' ' . $tag->name, $tag ); |
| 359 | |
| 360 | $qe_data = get_term( $tag->term_id, $taxonomy, OBJECT, 'edit' ); |
| 361 | $edit_link = esc_url( get_edit_term_link( $tag->term_id, $taxonomy, $this->screen->post_type ) ); |
| 362 | |
| 363 | $out = '<strong><a class="row-title" href="' . $edit_link . '" title="' . esc_attr( sprintf( __( 'Edit “%s”' ), $name ) ) . '">' . $name . '</a></strong><br />'; |
| 364 | |
| 365 | $out .= '<div class="hidden" id="inline_' . $qe_data->term_id . '">'; |
| 366 | $out .= '<div class="name">' . $qe_data->name . '</div>'; |
| 367 | |