The wordpress admin has the ability to load new users using the PHPExcel library from the xlsx file. Tell me how to make it possible to view downloaded users by the number of downloads in one day? Those. so that you can sort all users who are uploaded on the same day but at different times. For one download, a different number of users can be imported. I did this: an array of $ users, these are already downloaded users, obtained from the database:
$ users = $ wpdb-> get_results ($ query, 'ARRAY_A');
foreach ($ users as $ user) {
$ date = explode ('', $ user ['user_registered']) [0];
unset ($ user ['user_registered']);
$ userData [$ date] [] = $ user;
} But so users are only sorted on a specific day. And in one day there can be several downloads. Tell me how to sort users by the number of downloads per day?