category_link
apply_filters_deprecated( ‘category_link’, string $termlink , int $term_id )
筛选挂钩(不推荐):筛选类别链接。
Filter Hook (deprecated): Filters the category link.
参数(Parameters)
参数 | 类型 | 说明 |
---|---|---|
$termlink | (string) | 类别链接URL。 |
$term_id | (int) | 术语ID。 |
源码(Source)
更新版本 | 源码位置 | 使用 | 被使用 |
---|---|---|---|
2.5.0 | wp-includes/taxonomy.php:4268 | 1 | 0 |
category_link 为WP2原创文章,链接:https://www.wp2.cn/hook/category_link/