tag_link

过滤钩子


apply_filters( 'tag_link', $termlink, $term->term_id )
参数
  • (string)
    $termlink
    Tag link URL.
    Required:
  • (int)
    $term_id
    Term ID.
    Required:
定义位置
  • wp-includes/taxonomy.php
    , line 4627
引入
5.4.1
弃用

Filters the tag link.

$termlink = apply_filters( 'tag_link', $termlink, $term->term_id );