Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 504799

Access Values of Custom filters

$
0
0

Replies: 0

I have customized the default search filter and included name and three other drop downs based on custom taxonomies (which i have attached with wp stores).

I know i need to modify the SQL with help of this filer
add_filter( ‘wpsl_sql’, ‘custom_sql’ );

However i am not sure how to access values of text box and drop downs.

The goal is if someone one want to search by address zip code the default query will run, other was i will update query according to non-empty filter inputs.


Viewing all articles
Browse latest Browse all 504799

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>