wordpress/wp-content/themes/basic/themify/themify-builder/classes/class-themify-builder-model.php
/**
     * Check if builder frontend edit being invoked
     */
Check if builder frontend edit being invoked
Check if builder frontend edit being invoked
public static function is_front_builder_activate() {
	static $is = NULL;
	if ($is === null) {
	    $is = Themify_Builder::$frontedit_active===true || (isset($_GET['tb-preview']) && self::is_frontend_editor_page());
	    if($is===true){
		add_filter('lazyload_is_enabled','__return_false',1,100);
		add_filter( 'rocket_use_native_lazyload','__return_false',1,100 );
	    }
	}
	return $is;
    }
public static function is_front_builder_activate ( ) { static $ is = NULL ; if ( $ is === null ) { $ is = Themify_Builder :: $ frontedit_active === true || ( isset ( $ _GET [ 'tb-preview' ] ) && self :: is_frontend_editor_page ( ) ) ; if ( $ is === true ) { add_filter ( 'lazyload_is_enabled' , '__return_false' , 1 , 100 ) ; add_filter ( 'rocket_use_native_lazyload' , '__return_false' , 1 , 100 ) ; } } return $ is ; }
Check if builder frontend edit being invoked
Check if builder frontend edit being invoked
//disable jetpack lazy load