This commit is contained in:
proelements
2026-02-16 11:44:35 +02:00
parent 08ec8d01f1
commit b499583e5a
348 changed files with 3915 additions and 1414 deletions

16
base/editor-one-trait.php Normal file
View File

@@ -0,0 +1,16 @@
<?php
namespace ElementorPro\Base;
use ElementorPro\Plugin;
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
trait Editor_One_Trait {
protected function is_editor_one_active(): bool {
return (bool) Plugin::elementor()->modules_manager->get_modules( 'editor-one' );
}
}