|  | @@ 1910-1917 (lines=8) @@ | 
                                                            
                                    | 1907 |  | 		 * @since 1.0.4 | 
                                                            
                                    | 1908 |  | 		 * @return bool | 
                                                            
                                    | 1909 |  | 		 */ | 
                                                            
                                    | 1910 |  | 		public function is_elementor_preview() { | 
                                                            
                                    | 1911 |  | 			$result = false; | 
                                                            
                                    | 1912 |  | 			if ( isset( $_REQUEST['elementor-preview'] ) || ( is_admin() && isset( $_REQUEST['action'] ) && $_REQUEST['action'] == 'elementor' ) || ( isset( $_REQUEST['action'] ) && $_REQUEST['action'] == 'elementor_ajax' ) ) { | 
                                                            
                                    | 1913 |  | 				$result = true; | 
                                                            
                                    | 1914 |  | 			} | 
                                                            
                                    | 1915 |  |  | 
                                                            
                                    | 1916 |  | 			return $result; | 
                                                            
                                    | 1917 |  | 		} | 
                                                            
                                    | 1918 |  |  | 
                                                            
                                    | 1919 |  | 		/** | 
                                                            
                                    | 1920 |  | 		 * Tests if the current output is inside a Divi preview. | 
                                                                                
                                |  | @@ 1925-1932 (lines=8) @@ | 
                                                            
                                    | 1922 |  | 		 * @since 1.0.6 | 
                                                            
                                    | 1923 |  | 		 * @return bool | 
                                                            
                                    | 1924 |  | 		 */ | 
                                                            
                                    | 1925 |  | 		public function is_divi_preview() { | 
                                                            
                                    | 1926 |  | 			$result = false; | 
                                                            
                                    | 1927 |  | 			if ( isset( $_REQUEST['et_fb'] ) || isset( $_REQUEST['et_pb_preview'] ) || ( is_admin() && isset( $_REQUEST['action'] ) && $_REQUEST['action'] == 'elementor' ) ) { | 
                                                            
                                    | 1928 |  | 				$result = true; | 
                                                            
                                    | 1929 |  | 			} | 
                                                            
                                    | 1930 |  |  | 
                                                            
                                    | 1931 |  | 			return $result; | 
                                                            
                                    | 1932 |  | 		} | 
                                                            
                                    | 1933 |  |  | 
                                                            
                                    | 1934 |  | 		/** | 
                                                            
                                    | 1935 |  | 		 * Tests if the current output is inside a Beaver builder preview. |