intuitive-custom-post-order
intuitive-custom-post-order copied to clipboard
Why does the plugin does not order terms in get_terms_orderby hook in admin?
(I also posted this on the WordPress support forum but it looks like that forum isn't maintained anymore)
The plugin hooks into the get_terms_orderby
filter using the hicpo_get_terms_orderby
function. In this function, the first line is if ( is_admin() ) return $orderby;
. This prevents the terms from showing in the customized order in the admin listing. If I change the first line to if ( is_admin() ) return 't.term_order';
then it works as expected. What is the reason for not showing terms in the custom order in the admin area?
@gavin310 if you found an issue, it would be great to create a PR with you fix and or improvements.