selectors; $fields = CheckoutInfoBoxSettings::widget_fields( $widget ); $fields = self::form_fields_others_control( $fields ); return $fields; } /** * Widget Field * * @return array */ public static function form_fields_others_control( $fields ) { $insert_array = [ 'others_heading' => [ 'type' => 'html', 'raw' => sprintf( '

%s

', esc_html__( 'Others Settings', 'shopbuilder' ) ), 'content_classes' => 'elementor-panel-heading-title', 'separator' => 'default', ], 'label_gap' => [ 'label' => esc_html__( 'Fields & Label Gap', 'shopbuilder' ), 'type' => 'dimensions', 'mode' => 'responsive', 'size_units' => [ 'px' ], 'selectors' => [ self::$selectors['label_gap'] => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};', ], ], ]; $fields = Fns::insert_controls( 'form_margin', $fields, $insert_array ); return $fields; } }