Sort by site/blog column in Multisite
I tried to solve this issue before. Taking a second look at it, we can alter the sites list using the query filter hook. Supposing our custom sort URL is http://example.com/wp-admin/network/sites.php?orderby=site_category add_action( ‘plugins_loaded’, function() { global $pagenow; if( is_super_admin() && ‘sites.php’ == $pagenow && isset( $_GET[‘orderby’] ) && ‘site_category’ == $_GET[‘orderby’] ) add_filter( ‘query’, ‘b5f_filter_site_query’ … Read more