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



pre_term_link › WordPress过滤钩子

Since4.9.0
已弃用n/a
apply_filters( 'pre_term_link', $termlink, $term )
参数: (2)
  • (string) $termlink The permalink structure for the term's taxonomy.
    Required: Yes
  • (WP_Term) $term The term object.
    Required: Yes
定义在:
文档:

Filters the permalink structure for a term before token replacement occurs.





源码

$termlink = apply_filters( 'pre_term_link', $termlink, $term );