Code Duplication    Length = 8-8 lines in 2 locations

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

@@ 2207-2214 (lines=8) @@
2204
		 * @since 1.0.4
2205
		 * @return bool
2206
		 */
2207
		public function is_elementor_preview() {
2208
			$result = false;
2209
			if ( isset( $_REQUEST['elementor-preview'] ) || ( is_admin() && isset( $_REQUEST['action'] ) && $_REQUEST['action'] == 'elementor' ) || ( isset( $_REQUEST['action'] ) && $_REQUEST['action'] == 'elementor_ajax' ) ) {
2210
				$result = true;
2211
			}
2212
2213
			return $result;
2214
		}
2215
2216
		/**
2217
		 * Tests if the current output is inside a Divi preview.
@@ 2222-2229 (lines=8) @@
2219
		 * @since 1.0.6
2220
		 * @return bool
2221
		 */
2222
		public function is_divi_preview() {
2223
			$result = false;
2224
			if ( isset( $_REQUEST['et_fb'] ) || isset( $_REQUEST['et_pb_preview'] ) || ( is_admin() && isset( $_REQUEST['action'] ) && $_REQUEST['action'] == 'elementor' ) ) {
2225
				$result = true;
2226
			}
2227
2228
			return $result;
2229
		}
2230
2231
		/**
2232
		 * Tests if the current output is inside a Beaver builder preview.