first commit
This commit is contained in:
16
wp-content/plugins/elementor-pro/base/editor-one-trait.php
Normal file
16
wp-content/plugins/elementor-pro/base/editor-one-trait.php
Normal 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' );
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user