/**
  * Outputs the content of the widget
  *
  * @param array $args
  * @param array $instance
  */
 public function widget($args, $instance)
 {
     if (function_exists('wpml_home_url_ls_hide_check') && wpml_home_url_ls_hide_check()) {
         return;
     }
     language_selector_widget($args);
 }
 /**
  * Outputs the content of the widget
  *
  * @param array $args
  * @param array $instance
  */
 public function widget($args, $instance)
 {
     language_selector_widget($args);
 }