Looking to filter out users without a profile picture
Hi, I want to not display users if they havent uploaded a profile picture. I have been able to create a custom WP_User_Query and get the users with pictures only, but this query breaks the sort and search functionality on the browse freelancers page. Can you advice where the main query that is used in loop-freelancer.php to display the users is being executed so I can modify this one instead of creating a new one with missing attributes. Alternatively, can you send me the query so that I know what parameters to include in my custom query?
Thanks so much!
Amanda