Пример #1
0
 /**
  * Gets the attributes for the control.
  *
  * @since  1.0.0
  * @access public
  */
 public function set_attributes()
 {
     $this->attributes['data-type'] = 'single';
     $this->attributes['data-input-values-separator'] = ';';
     parent::set_attributes();
 }
Пример #2
0
 /**
  * Gets the attributes for the control.
  *
  * @since  1.0.0
  * @access public
  */
 public function set_attributes()
 {
     parent::set_attributes();
     $this->attributes['class'] = 'color-field';
 }