Home › Forums › General Issues › Change field with filter › Reply To: Change field with filter
I have a custom field of a button. He can activate it or not in the post. If it is post photos it should is enabled.
It works very well in recent posts. But I have many old posts and can not edit one by one to activate the field.
I wonder where I apply a filter to change the true or false depending on the category of the post. My doubt is exactly where I apply the filter. ‘the_content’, ‘acf/load_field’, ‘acf/load_value’?
I’m a bit lost about it.
Sorry for my bad English. I am doing my best.
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.