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 |
|---|---|
| 359 | * current level in the term hierarchy. |
| 360 | * |
| 361 | * @since 2.5.0 |
| 362 | * |
| 363 | * @see WP_Terms_List_Table::column_name() |
| 364 | * |
| 365 | * @param string $pad_tag_name The term name, padded if not top-level. |
| 366 | * @param WP_Term $tag Term object. |
| 367 | */ |
| 368 | $name = apply_filters( 'term_name', $pad . ' ' . $tag->name, $tag ); |
| 369 | |
| 370 | $qe_data = get_term( $tag->term_id, $taxonomy, OBJECT, 'edit' ); |
| 371 | |
| 372 | $uri = wp_doing_ajax() ? wp_get_referer() : $_SERVER['REQUEST_URI']; |
| 373 | |
| 374 | $edit_link = add_query_arg( |
| 375 | 'wp_http_referer', |
| 376 | urlencode( wp_unslash( $uri ) ), |
| 377 | get_edit_term_link( $tag->term_id, $taxonomy, $this->screen->post_type ) |