How can I set a default listing order on the admin page for a custom taxonomy? (without plugins)

You need to take a look at

/core_root/wp-admin/includes/class-wp-terms-list-table.php

and then add an extended class and make use of the WP_list_Table Class and documentation. basically you’re overriding the order and orderby in some custom plugin.


Btw: “No Plugins” is never a good idea as plugins may show you how it works in code and therefore be a) a valid answer and b) a good reference or starting point.

Leave a Comment