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



redirect_term_location ›

Since4.6.0
已弃用n/a
apply_filters( 'redirect_term_location', $location, $tax )
参数: (2)
  • (string) $location The destination URL.
    Required: Yes
  • (object) $tax The taxonomy object.
    Required: Yes
定义在:
文档:

Filters the taxonomy redirect destination URL.





源码

wp_redirect( apply_filters( 'redirect_term_location', $location, $tax ) );