get_active_languages(); $def_lang_code = $sitepress->get_default_language(); $def_lang = $sitepress->get_language_details( $def_lang_code ); $secondary_languages = array(); foreach ( $active_languages as $code => $lang ) { if ( $code !== $def_lang_code ) { $secondary_languages[] = $lang; } } ?>


is_preview ) { ?>
sync_data ) ) { ?> menus as $menu_id => $menu ) { $menu_sync_display = new WPML_Menu_Sync_Display( $menu_id, $icl_menus_sync ); ?> sync_data['menu_translations'], $icl_menus_sync->sync_data['menu_translations'][ $menu_id ] ) ) { foreach ( $icl_menus_sync->sync_data['menu_translations'][ $menu_id ] as $language => $name ) { $lang_details = $sitepress->get_language_details( $language ); ?> print_sync_field( $sync_type ); } } } ?>
' . $name . '' ) ?>

sync_data ) || ( empty( $icl_menus_sync->sync_data['mov'] ) && empty( $icl_menus_sync->sync_data['mov'][ $menu_id ] ) ) ) { $icl_menu_sync_submit_disabled = 'disabled="disabled"'; } ?> /> 

menus ) ) { ?> menus as $menu_id => $menu ) { ?> render_items_tree_default( $menu_id ); } //foreach( $icl_menus_sync->menus as $menu_id => $menu): } ?>

/>    />

operations ) ) { $show_string_translation_link = false; foreach ( $icl_menus_sync->operations as $op => $c ) { if ( $op == 'add' ) { ?> display_menu_links_to_string_translation(); } do_action( 'icl_menu_footer' ); ?>