Code Duplication    Length = 3-4 lines in 2 locations

vendor/ayecode/wp-super-duper/wp-super-duper.php 2 locations

@@ 926-928 (lines=3) @@
923
			}
924
925
			// if preview show a placeholder if empty
926
			if ( $this->is_preview() && $output == '' ) {
927
				$output = $this->preview_placeholder_text( "[{" . $this->base_id . "}]" );
928
			}
929
930
			return $output;
931
		}
@@ 1603-1606 (lines=4) @@
1600
					echo ! empty( $this->options['widget_ops']['classname'] ) ? "</span>" : '';
1601
				}
1602
				echo $after_widget;
1603
			} elseif ( $this->is_preview() && $output == '' ) {// if preview show a placeholder if empty
1604
				$output = $this->preview_placeholder_text( "{{" . $this->base_id . "}}" );
1605
				echo $output;
1606
			}
1607
		}
1608
1609
		/**