Title: Adding &#8216;searchParams&#8217; arguments to plugin request
Last modified: August 13, 2019

---

# Adding ‘searchParams’ arguments to plugin request

 *  Resolved [ocd-alex](https://wordpress.org/support/users/ocdalex/)
 * (@ocdalex)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/adding-searchparams-arguments-to-plugin-request/)
 * I have been able to customise the results returned by the ‘layer’ by adding this
   code to the ‘Layer Javascript Code’ option…
 *     ```
       searchParams: {
       "query_name": "match_or"
       }
       ```
   
 * …but now the results shown in the layer don’t match the ‘internal search’ results.
   Is there a way within the plugin to modify the API query with custom ‘searchParams’
   arguments? I can’t see anything in the app.doofinder.com dashboard that will 
   allow me to do this either, only the documentation for creating new API calls.

Viewing 1 replies (of 1 total)

 *  Plugin Author [Doofinder](https://wordpress.org/support/users/doofinder/)
 * (@doofinder)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/adding-searchparams-arguments-to-plugin-request/#post-11894426)
 * Hi [@ocdalex](https://wordpress.org/support/users/ocdalex/). Sorry for the delay.
   That’s not currently supported but you can talk to Doofinder Support at [support@doofinder.com](https://wordpress.org/support/topic/adding-searchparams-arguments-to-plugin-request/support@doofinder.com?output_format=md)
   and comment your case to see if that’s something worth to be added to the plugin.

Viewing 1 replies (of 1 total)

The topic ‘Adding ‘searchParams’ arguments to plugin request’ is closed to new replies.

 * ![](https://ps.w.org/doofinder-for-woocommerce/assets/icon-256x256.png?rev=2845475)
 * [DOOFINDER Search and Discovery for WP & WooCommerce](https://wordpress.org/plugins/doofinder-for-woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/doofinder-for-woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/doofinder-for-woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/doofinder-for-woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/doofinder-for-woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/doofinder-for-woocommerce/reviews/)

## Tags

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

 * 1 reply
 * 2 participants
 * Last reply from: [Doofinder](https://wordpress.org/support/users/doofinder/)
 * Last activity: [6 years, 9 months ago](https://wordpress.org/support/topic/adding-searchparams-arguments-to-plugin-request/#post-11894426)
 * Status: resolved