Title: Does getSelectedParameters Function bring back results?
Last modified: June 27, 2022

---

# Does getSelectedParameters Function bring back results?

 *  [Periklis Kakarakidis](https://wordpress.org/support/users/perikliskakarakidis/)
 * (@perikliskakarakidis)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/does-getselectedparameters-function-bring-back-results/)
 * Hello,
 * Does the getSelectedParameters() function located inside of the Block/Selector.
   php file return the data related to my search if I only selected 2 out of the
   3 fields?
 * For example:
    Make: BMW , MODEL: IX3, YEAR: (empty).
 * Will it return data?
    Or Do I need to select all 3 fields? And if yes, how can
   I make this function return data about my search parameters without the need 
   of selecting all the fields in the ymm search block?
 * Thanks in advance for your time!

The topic ‘Does getSelectedParameters Function bring back results?’ is closed to
new replies.

 * ![](https://ps.w.org/ymm-search/assets/icon-256x256.png?rev=1750193)
 * [Year Make Model Search for WooCommerce](https://wordpress.org/plugins/ymm-search/)
 * [Support Threads](https://wordpress.org/support/plugin/ymm-search/)
 * [Active Topics](https://wordpress.org/support/plugin/ymm-search/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ymm-search/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ymm-search/reviews/)

## Tags

 * [ymm](https://wordpress.org/support/topic-tag/ymm/)

 * 0 replies
 * 1 participant
 * Last reply from: [Periklis Kakarakidis](https://wordpress.org/support/users/perikliskakarakidis/)
 * Last activity: [3 years, 11 months ago](https://wordpress.org/support/topic/does-getselectedparameters-function-bring-back-results/)
 * Status: not resolved