Home Forums Backend Issues (wp-admin) Update 'conditional_logic' through PHP


Update 'conditional_logic' through PHP

  • Hi, I want to make a selector to choose which section you want active. I’ve managed to setup my checkboxes to dynamically update themselves based on which tabs are in “Contenu” the problem is that I want to also hide them based on which one is checked but I have not managed to update the “conditional_logic” of a field.

    I’ve tried acf/load_field, acf/prepare_field and acf_update_field() but nothing seems to work. Do you have an idea how to update that?

    Thanks in advance!

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.

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 Cookie Policy. If you continue to use this site, you consent to our use of cookies.