Support

Account

Home Forums General Issues Compare ACF repeater field values before and after change programatically

Unread

Compare ACF repeater field values before and after change programatically

    • martov

    • August 13, 2019 at 7:38 am

    Hi.

    I change some repeater field values programatically in response to certain webhooks in my wordpress.

    I need to catch the changes in the repeater field and identify if a certain value in the repeater field changed and what was the change (before and after value)

    It seems I cant use acf/update_value because the repeater field’s value turns into the number of rows instead of the actual values I need to compare.

    Since this changes are not coming from a web browser I dont have any of the values I need on the $POST variable.

    Is there any way I can acomplish this?

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.