Is there any way to edit search filters on WordPress plugin ultimate member? As I know standard filters include the only field which is selected from backend and search user must match all specified fields (logical and). I want some way to edit search and add more functions (or, less than, more than) for some fields. So far I haven’t found out how the search is proposed if is based on the global $wpdb variable or some other way.
1 comment
Comments are closed.
I am using Ajax in my example to search for users based on conditions, and here I use country, The list of cities is already defined in an array, and I summon it here in loop.
Well, now that we have completed a form to search for users by name and city, we are preparing the code in functions.php
This is the best way I found to do it, here’s the example page that I gave
page link