Home › Forums › Add-ons › Options Page › Search through option fields › Reply To: Search through option fields
The code you’re using will cause acf to save all of the fields to whatever post has the id of ‘300’. I’m not sure you’re using this correctly, to be honest I’m not sure where they values are being saved because you have 300 as a string and on a number. The values could be saved to the post with the ID of 300 or they could be saved in the options table with a prefix of “300-“. If they are saved to a post then there is no searching required. If they are save to the options table then searching is not possible.
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.