Home › Forums › Add-ons › Flexible Content Field › Using acf/update_value in Flexible Content Field › Reply To: Using acf/update_value in Flexible Content Field
I’m lost on finding they key here. I’ve turned on field visibility on the “edit field group” page and my flexible content field, at the top level is “field_6018cb496afa3”. Then the layouts themselves don’t display a field key for the layout, but within the layout, there are keys for each row. In my example, the video ID field is “field_602f31fa1de20”.
If I setup a filter with add_filter('acf/update_value/key=field_6018cb496afa3', 'my_function_name', 20, 4);
or add_filter('acf/update_value/key= field_602f31fa1de20', 'my_function_name', 20, 4);
and in my function I just var_dump everything, I get no output, suggesting that my filter is not firing because I’m not looking for the right field… Where am I going wrong here?
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.