WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

The Wordpress codex has an example of the register_taxonomy() function at http://codex.wordpress.org/Taxonomies that shows arguments that are not documented in http://codex.wordpress.org/Function_Reference/register_taxonomy.

In particular args['sort'] and args['args'][order_by].

What's the story with these?

share|improve this question
up vote 2 down vote accepted

I suspect the Taxonomies Codex entry is simply out of date.

Per source, there are no 'sort' or 'orderby' args for register_taxonomy().

Given the purpose of the register_taxonomy() function, it doesn't even really make sense for this function to include sort/orderby parameters. Such parameters would be relevant to listing taxonomy terms, not to registering the taxonomy itself.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.