Created
November 20, 2023 19:50
-
-
Save Pross/cf221eba385b3fcd1c2f428aceea37dc to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/common/helpers.php b/common/helpers.php | |
index 6fe1ca4..fc436fd 100644 | |
--- a/common/helpers.php | |
+++ b/common/helpers.php | |
@@ -16,8 +16,12 @@ if ( !class_exists( 'MeowCommon_Helpers' ) ) { | |
return isset( $_GET['cs-render'] ) && $_GET['cs-render'] === '1'; | |
} | |
+ static function is_beaver_builder() { | |
+ return isset( $_GET['fl_builder'] ); | |
+ } | |
+ | |
static function is_pagebuilder_request() { | |
- return self::is_divi_builder() || self::is_cornerstone_builder(); | |
+ return self::is_divi_builder() || self::is_cornerstone_builder() || self::is_beaver_builder(); | |
} | |
static function is_asynchronous_request() { |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment