Skip to main content
8 events
when toggle format what by license comment
Apr 25, 2015 at 11:27 comment added Sumit I got a filter views_users but no luck as there is no global variable for current user query! so how can we alter the count ? And there is no filter in count_users() :(
Apr 25, 2015 at 11:23 comment added Sumit Ah, Thanks for pointing this out! I got the new things in wp user query. Problem: Count is independent on current user query as wp using a function count_users() which is in \wp-includes\user.php and has its own separate query! Thus you search for users and no result found, count is still same. May you should post a new question for this.
Apr 24, 2015 at 19:46 comment added sirmdawg The results int the list work as intended, but for some reason the sorting options above the list still include the total number of users.
Apr 23, 2015 at 7:23 comment added Sumit @mkirkpatrick I din't get your question ? When I tested that snippet it was working fine! Can you please brief your problem a bit ?
Apr 22, 2015 at 22:51 comment added sirmdawg any idea how to change the results above the list ? I still se e "100" subscribers, but only 5 are shown ( the five that should show )
Apr 22, 2015 at 22:34 comment added sirmdawg Thank you, I didn't realize I was using the wrong hook !
Apr 22, 2015 at 22:33 vote accept sirmdawg
Apr 21, 2015 at 20:07 history answered Sumit CC BY-SA 3.0