Home › Forums › Add-ons › Repeater Field › Showing ONLY repeater rows that contain a certain keyword › Reply To: Showing ONLY repeater rows that contain a certain keyword
Hi @esparks
Querying by multiple strings could be tricky. You can divide the search string using the “+” sign and use the explode() function to get it as an array. after that, you can use the preg_match() function to search the string. This thread should give you more idea about it: http://stackoverflow.com/questions/15862361/check-if-a-string-contain-multiple-specific-words. Please consult to the PHP community for further support regarding this issue.
Thanks!
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.