| Server IP : 87.98.154.146 / Your IP : 216.73.216.165 Web Server : Apache System : Linux webm004.cluster126.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64 User : ohklomafyi ( 52085) PHP Version : 7.4.33 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/ohklomafyi/www/wp-content/plugins/unlimited-elements-for-elementor/views/ |
Upload File : |
<?php
function wpmlAutoTranslationTest(){
if(UniteCreatorWpmlIntegrate::isWpmlExists() == false && GlobalsUC::$inDev == false){
dmp("wpml plugin not installed");
return(false);
}
$arrWidgets = apply_filters("wpml_elementor_widgets_to_translate",array());
dmp("Those widgets are selected for the wpml auto translate:");
foreach($arrWidgets as $name => $fields){
dmp("<b>$name</b>");
$arrFields = UniteFunctionsUC::getVal($fields, "fields");
dmp("main fields:");
dmp($arrFields);
if(isset($fields["integration-class"]) == false)
continue;
$widgetName = str_replace("ucaddon_","",$name)."_elementor";
$arrItemsFields = UniteFunctionsUC::getVal(UniteCreatorWpmlIntegrate::$arrWidgetItemsData, $widgetName);
dmp("items fields: ");
dmp($arrItemsFields);
}
}
wpmlAutoTranslationTest();