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.