I am building a site which has an options page and 6 languages. I am using ACF and WPML. The issue I have is that I need to dynamically save some data into a specific custom field on the options page (I am basically pulling in a social feed). I would normally use:
But this only seems to update the English field and not any of the other languages. I want to avoid a situation where I am having to hardcode each field id number into the code for each language. For example when you use get_field( “news_hidden_news_data”) it can automatically work out which language is currently selected and pull the correct field, but unfortunately this does not seem to work the other way when trying to add data, what are my options?