Timeline for Multisite - sort merged get_posts() queries
Current License: CC BY-SA 3.0
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
May 5, 2017 at 8:51 | comment | added | birgire | You're welcome, glad to hear it helped. @Markus | |
May 5, 2017 at 8:39 | vote | accept | Markus | ||
May 5, 2017 at 8:37 | comment | added | Markus | Wow, thank you very much! That's so easy if you know that :D Before you posted the answer, I found this solution, but your's is my favorite! Thank you very very much! usort($custom_posts, function($a, $b) { return strcmp($b->post_date_gmt, $a->post_date_gmt); }); | |
May 4, 2017 at 7:57 | history | answered | birgire | CC BY-SA 3.0 |