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



get_terms_orderby ›

Since2.8.0
已弃用n/a
apply_filters( 'get_terms_orderby', $orderby, $this->query_vars, $this->query_vars['taxonomy'] )
参数: (3)
  • (string) $orderby `ORDERBY` clause of the terms query.
    Required: Yes
  • (array) $args An array of term query arguments.
    Required: Yes
  • (string[]) $taxonomies An array of taxonomy names.
    Required: Yes
定义在:
文档:

Filters the ORDERBY clause of the terms query.





源码

$orderby = apply_filters( 'get_terms_orderby', $orderby, $this->query_vars, $this->query_vars['taxonomy'] );