Search or filter with partial value
-
Hi, I am trying to use this plugin to do multi-filter meta key without full value?
Like instead of : https://domain.com/wp-json/wp/v2/something?filter%5Bmeta_key%5D=somekey&filter%5Bmeta_value%5D=somevalue
I want to query like this : https://domain.com/wp-json/wp/v2/something?filter%5Bmeta_key%5D=somekey&filter%5Bmeta_value%5D=some
I only input partial value for the meta_value, so the output I can get include list of items with meta_value like sometime, someshoes, or someclothes.
I ask so because I found that you need to use exact full value for the meta_value else will return blank response.
If this is not possible with this plugin. Could you direct me to the right direction? Either by adding custom code in function.php or any useful doc, I am new to php.
Thanks for your time.
- The topic ‘Search or filter with partial value’ is closed to new replies.