/**
  *
  *
  * @SuppressWarnings(PHPMD.UnusedLocalVariable)
  */
 public static function display_setting($args = array(), $do_echo = true, $input = null)
 {
     $content = '';
     switch ($args['type']) {
         case 'text':
             extract($args);
             if (is_null($input)) {
                 $options = get_option(self::ID);
             } else {
                 $options = array();
                 $options[$id] = $input;
             }
             if (!isset($options[$id])) {
                 $options[$id] = $std;
             }
             $field_class = '';
             if (!empty($class)) {
                 $field_class = ' ' . $class;
             }
             $field_class = esc_attr($field_class);
             $suggest_id = 'suggest_' . self::$suggest_id++;
             $content .= '<input class="regular-text' . $field_class . ' ' . $suggest_id . '" type="text" id="' . $id . '" name="' . self::ID . '[' . $id . ']" placeholder="' . $std . '" value="' . $options[$id] . '" />';
             if (!empty($suggest)) {
                 $content .= self::get_suggest($id, $suggest_id);
             }
             if (!empty($desc)) {
                 $content .= '<br /><span class="description">' . $desc . '</span>';
             }
             if ($show_code) {
                 $content .= '<br /><code>' . $id . '</code>';
             }
             break;
         default:
             $content = apply_filters('testimonials_widget_display_setting', $content, $args, $input);
             break;
     }
     if (empty($content)) {
         $content = parent::display_setting($args, false, $input);
     }
     if (!$do_echo) {
         return $content;
     }
     echo $content;
 }
 /**
  *
  *
  * @SuppressWarnings(PHPMD.UnusedLocalVariable)
  */
 public static function display_setting($args = array(), $do_echo = true, $input = null)
 {
     $content = '';
     switch ($args['type']) {
         default:
             $content = apply_filters('tw_display_setting', $content, $args, $input);
             break;
     }
     if (empty($content)) {
         $content = parent::display_setting($args, false, $input);
     }
     if (!$do_echo) {
         return $content;
     }
     echo $content;
 }
 /**
  *
  *
  * @SuppressWarnings(PHPMD.UnusedLocalVariable)
  */
 public static function display_setting($args = array(), $do_echo = true, $input = null)
 {
     $content = apply_filters('wps_display_setting', '', $args, $input);
     if (empty($content)) {
         $content = parent::display_setting($args, false, $input);
     }
     if (!$do_echo) {
         return $content;
     }
     echo $content;
 }