Title: Get filter request as data / class
Last modified: August 10, 2023

---

# Get filter request as data / class

 *  Resolved [chaaampy](https://wordpress.org/support/users/chaaampy/)
 * (@chaaampy)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/get-filter-request-as-data-class/)
 * Hi fellas,
 * I was wondering is there were a way to get the filter request as some data in
   JS / jQuery ?
 * Ex : If I request the **“rap”** and **“2000’s”** music in my filter, I would 
   like to return those data in a `console.log`, and eventuelly add it as classes
   on my body.
 * Cheers,

Viewing 1 replies (of 1 total)

 *  Plugin Support [fesupportteam](https://wordpress.org/support/users/fesupportteam/)
 * (@fesupportteam)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/get-filter-request-as-data-class/#post-16966205)
 * Hi [@chaaampy](https://wordpress.org/support/users/chaaampy/)
 * Thank you for your interest in the Filter Everything plugin.
 * If you have enought knowledge in PHP and WordPress you can use this function 
   to get the data
   `flrt_selected_filter_terms();`
 * More about different functions you can read here – [https://filtereverything.pro/resources/functions/](https://filtereverything.pro/resources/functions/)
 * Best Regards – Victor

Viewing 1 replies (of 1 total)

The topic ‘Get filter request as data / class’ is closed to new replies.

 * ![](https://ps.w.org/filter-everything/assets/icon-256x256.png?rev=3487105)
 * [Filter Everything — WordPress & WooCommerce Filters](https://wordpress.org/plugins/filter-everything/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/filter-everything/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/filter-everything/)
 * [Active Topics](https://wordpress.org/support/plugin/filter-everything/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/filter-everything/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/filter-everything/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [fesupportteam](https://wordpress.org/support/users/fesupportteam/)
 * Last activity: [2 years, 10 months ago](https://wordpress.org/support/topic/get-filter-request-as-data-class/#post-16966205)
 * Status: resolved