diff --git a/src/wp-includes/taxonomy.php b/src/wp-includes/taxonomy.php index 22d74cd23e..7f037cb0e8 100644 --- a/src/wp-includes/taxonomy.php +++ b/src/wp-includes/taxonomy.php @@ -1573,8 +1573,10 @@ function get_term_to_edit( $id, $taxonomy ) { * @param array|string $args { * Optional. Array or string of arguments to get terms. * - * @type string $orderby Field(s) to order terms by. Accepts term fields, though - * empty defaults to 'term_id'. Default 'name'. + * @type string $orderby Field(s) to order terms by. Accepts term fields ('name', 'slug', + * 'term_group', 'term_id', 'id'), 'count' for term taxonomy count, + * 'include' to match the 'order' of the $include param, or 'none' + * to skip ORDER BY. Defaults to 'name'. * @type string $order Whether to order terms in ascending or descending order. * Accepts 'ASC' (ascending) or 'DESC' (descending). * Default 'ASC'.