WordPress开发者和主题制作者的搜索引擎



category_link ›

Since1.5.0
已弃用
apply_filters( 'category_link', $termlink, $term->term_id )
参数: (2)
  • (string) $termlink Category link URL.
    Required: Yes
  • (int) $term_id Term ID.
    Required: Yes
定义在:
文档:

Filters the category link.





源码

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