'', 'row' => '', 'isLinked' => true, 'unit' => 'px', ]; } public function get_singular_name() { return 'gap'; } protected function get_dimensions() { return [ 'column' => esc_html__( 'Column', 'elementor' ), 'row' => esc_html__( 'Row', 'elementor' ), ]; } public function get_value( $control, $settings ) { $value = parent::get_value( $control, $settings ); // BC for any old Slider control values. if ( $this->should_update_gaps_values( $value ) ) { $value['column'] = strval( $value['size'] ); $value['row'] = strval( $value['size'] ); } return $value; } private function should_update_gaps_values( $value ) { return isset( $value['size'] ) && '' !== $value['size'] && '' === $value['column']; } }