When i try to render the value of attribute on Pro Form Nestable Elements, is’t not rendered my custom function dynamic data
here is the preview of my custom function
function multi_text($text_default_language, $text_second_language) {
$current_language = wpml_code();
if ($current_language === 'en') {
return $text_default_language;
} else {
return $text_second_language;
}
}