Support

Account

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?