A WordPress-centric search engine for devs and theme authors



get_terms_orderby ›

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 terms query arguments.
    Required: Yes
  • (array) $taxonomies An array of taxonomies.
    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'] );