wpseek.com
A WordPress-centric search engine for devs and theme authors



get_terms_orderby › WordPress Filter Hooks

Since2.8.0
Deprecatedn/a
apply_filters( 'get_terms_orderby', $orderby, $this->query_vars, $this->query_vars['taxonomy'] )
Parameters: (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
Defined at:
Codex:

Filters the ORDERBY clause of the terms query.





Source

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