redirect_term_location
apply_filters( ‘redirect_term_location’, string $location , WP_Taxonomy $tax )
过滤器::过滤分类重定向目标URL。
Filter Hook: Filters the taxonomy redirect destination URL.
参数(Parameters)
参数 | 类型 | 说明 |
---|---|---|
$location | (string) | 目标URL。 |
$tax | (WP_Taxonomy) | 分类对象。 |
源码(Source)
更新版本 | 源码位置 | 使用 | 被使用 |
---|---|---|---|
4.6.0 | wp-admin/edit-tags.php:228 | 0 | 0 |
redirect_term_location 为WP2原创文章,链接:https://www.wp2.cn/hook/redirect_term_location/