function acf_qtranslate_plugin_format_value_for_api($value) { if (acf_qtranslate_enabled() && is_string($value)) { $value = qtrans_useCurrentLanguageIfNotFoundUseDefaultLanguage($value); } return $value; }
function update_value($value, $post_id, $field) { if (acf_qtranslate_enabled()) { $value = qtrans_join($value); } return $value; }