Ticket #44443: 44443.diff
| File 44443.diff, 1.5 KB (added by , 8 years ago) |
|---|
-
wp-includes/class-wp-term-query.php
98 98 * limited to terms associated with these objects. 99 99 * @type string $orderby Field(s) to order terms by. Accepts term fields ('name', 100 100 * 'slug', 'term_group', 'term_id', 'id', 'description', 'parent'), 101 * 'count' for term taxonomy count, 'include' to match the102 * 'order' of the $include param, 'slug__in' to match the103 * 'order' of the $slug param, 'meta_value', 'meta_value_num',101 * 'count' to use the number of posts in the term, 'include' to 102 * match the 'order' of the $include param, 'slug__in' to match 103 * the 'order' of the $slug param, 'meta_value', 'meta_value_num', 104 104 * the value of `$meta_key`, the array keys of `$meta_query`, or 105 105 * 'none' to omit the ORDER BY clause. Defaults to 'name'. 106 106 * @type string $order Whether to order terms in ascending or descending order.