first commit

This commit is contained in:
Roman Pyrih
2026-03-10 09:50:10 +01:00
commit 64c4a90405
7289 changed files with 2645777 additions and 0 deletions

View File

@@ -0,0 +1,30 @@
<?php
namespace Elementor\Modules\AtomicOptIn;
use Elementor\Utils;
class PanelChip {
public function init() {
add_action( 'elementor/editor/before_enqueue_scripts', [ $this, 'enqueue_scripts' ] );
}
public function enqueue_scripts() {
$min_suffix = Utils::is_script_debug() ? '' : '.min';
wp_enqueue_script(
'editor-v4-opt-in-alphachip',
ELEMENTOR_ASSETS_URL . 'js/editor-v4-opt-in-alphachip' . $min_suffix . '.js',
[
'react',
'react-dom',
'elementor-common',
'elementor-v2-ui',
],
ELEMENTOR_VERSION,
true
);
wp_set_script_translations( 'editor-v4-opt-in-alphachip', 'elementor' );
}
}