Skip to content

Instantly share code, notes, and snippets.

@Lovor01
Created February 27, 2021 21:03
Show Gist options
  • Save Lovor01/7aa4903fb321308b8bf5c2bab29b8d15 to your computer and use it in GitHub Desktop.
Save Lovor01/7aa4903fb321308b8bf5c2bab29b8d15 to your computer and use it in GitHub Desktop.
1. Create new column in table wp_terms
2. add filter get_terms_orderby which returns 't.<created column>', where created column is created column in wp_terms
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment