/** * Creates option * * @return void * @since 1.0 **/ public function __construct($field, $value, $attr, $oxy_typography) { $this->oxy_typography = $oxy_typography; $field['options'] = $this->load_select_data(); $attr['class'] = 'font-select select2'; parent::__construct($field, $value, $attr); }
/** * Creates option * * @return void * @since 1.0 **/ public function __construct($field, $value, $attr) { $field['options'] = $this->load_select_data(); $this->set_attr('value', $value); parent::__construct($field, $value, $attr); }