sort order
-
Thank you for this very helpful plugin!
One feature request: sort the “Network Activated” column by domain. It would make finding entries in long lists much easier.
This does the trick:
Index: network-plugin-auditor.php *** network-plugin-auditor.php.orig Wed Aug 19 17:24:19 2015 --- network-plugin-auditor.php Thu Nov 26 16:04:37 2015 *************** *** 318,323 **** --- 318,328 ---- } } + // sort by domain name + uasort($blog_list, function($a, $b) { + return (strcasecmp($a['domain'], $b['domain'])); + }); + //error_log( print_r( $blog_list, true ) ); return $blog_list; }
https://www.ads-software.com/plugins/network-plugin-auditor/
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘sort order’ is closed to new replies.