Introduction to Search Settings
This section is used to customize various options and features related to UPME Search. Let’s look at the Search Settings screen with default values, using the following screenshot.
Now we can go through each of these setting and their functionality.
Use WP Cron
This setting is used to enable/disable WP Cron for UPME search cache. UPME uses a field called search cache to store all the fields and values for specific user. Then we use this field for the UPME search. User cache will be updated with each user profile update request. However, you need to manually update it when adding/editing/deleting custom fields/values or attributes. Using WP Cron will update your search cache automatically at regular intervals.When using this option, make sure DISABLE_WP_CRON is not set to TRUE in wp-config.php. This options is enabled by default.
Search Input Mandatory
This setting is used to decided whether to display all users when users search with empty search value. If checked, UPME will not show search results when
hide_until_search=true is used and no search input is given. Checking this option is useful if you do not want to show all users when submitting the search with no search criteria. By default, this option is disabled, allowing you to view all users without providing a search value.
Users are Called
This setting is used to define what users are called in your system. Like Members, Doctors, etc. This will update the text for the search form and search results. The default is Users.
Combined Search Text
This setting is used to define the name of Text search field which is used to perform combined search. UPME search provides a field called combined search. This field is the only way to search multiple fields at the same time.You may choose custom text for the main combined text search field. The default is Combined Search.
Search Button Text
This setting is used to define the text of the button to submit the member search form. The default is Filter.
Reset Button Text
This setting is used to define the text of the button to reset the member search form. The default is Reset.