0

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?

2

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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