widget->add_render_attribute( 'field-' . $this->get_id(), 'rows', $this->field['rows'] ); } public function render_content() { $attrs = $this->widget->get_render_attribute_string( 'field-' . $this->get_id() ); ?> $commons['label'], 'field_value' => $commons['field_value'], 'rows' => [ 'label' => esc_html__( 'Rows', 'sellkit' ), 'type' => 'number', 'default' => 5, 'conditions' => [ 'terms' => [ parent::get_type_condition() ] ], ], 'required' => $commons['required'], 'width_responsive' => $commons['width_responsive'], ]; } }