We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 20a03bb commit 6313fedCopy full SHA for 6313fed
Util_Environment.php
@@ -374,6 +374,8 @@ public static function is_litespeed() {
374
* @return bool
375
*/
376
public static function is_elementor() {
377
+ require_once ABSPATH . 'wp-admin/includes/plugin.php';
378
+
379
if ( is_plugin_active( 'Elementor\Plugin' ) ) {
380
return true;
381
} elseif ( is_plugin_active( 'elementor/elementor.php' ) ) {
0 commit comments