get_edit_tag_link
Filters the edit link for a tag (or term in another taxonomy).
Использование
add_filter( 'get_edit_tag_link', 'wp_kama_get_edit_tag_link_filter' );
/**
* Function for `get_edit_tag_link` filter-hook.
*
* @param string $link The term edit link.
*
* @return string
*/
function wp_kama_get_edit_tag_link_filter( $link ){
// filter...
return $link;
}
- $link(строка)
- The term edit link.
Список изменений
| С версии 2.7.0 | Введена. |
Где вызывается хук
get_edit_tag_link
wp-includes/link-template.php 1041
return apply_filters( 'get_edit_tag_link', get_edit_term_link( $tag, $taxonomy ) );