edit_term_link

过滤钩子


apply_filters( 'edit_term_link', $link, $term->term_id )
参数
  • (string)
    $link
    The anchor tag for the edit link.
    Required:
  • (int)
    $term_id
    Term ID.
    Required:
定义位置
  • wp-includes/link-template.php
    , line 1162
引入
3.1.0
弃用

Filters the anchor tag for the edit link of a term.

$link = $before . apply_filters( 'edit_term_link', $link, $term->term_id ) . $after;