php – How add synonyms to wordpress/woocommerce search

Question

I’m trying to find a way to manually add a way for people to search one term, and for that term to search another term as well. For example, if someone searched “bathing suits” I want results for “swim suits” to also be displayed. Is there a way to do this through functions.php ? (for product types?)

0
sevenkader 1 month 2021-06-19T14:44:22-05:00 0 Answers 0 views 0

Leave an answer

Browse
Browse