26/27
Эгоист - магазин мужской одежды, обуви и аксессуаров

ПИДЖАКИ
И КУРТКИ
ПРЕДЛОЖЕНИЕ НЕДЕЛИ

КОСТЮМЫ
'ep_parallax_bg_colors' => 'yes' ], 'render_type' => 'none', 'frontend_available' => true, ] ); $section->end_popover(); $section->end_injection(); } public function should_script_enqueue($section) { $settings = $section->get_settings_for_display(); if ($settings['section_parallax_on'] == 'yes') { wp_enqueue_script('ep-background-parallax'); } } protected function add_actions() { add_action('elementor/element/section/section_background/before_section_end', [$this, 'register_controls'], 10, 2); add_action('elementor/frontend/section/before_render', [$this, 'should_script_enqueue'], 10, 1); add_action('elementor/frontend/container/before_render', [$this, 'should_script_enqueue'], 10, 1); add_action('elementor/element/container/section_background/before_section_end', [$this, 'register_controls'], 10, 2); add_action('elementor/frontend/container/before_render', [$this, 'should_script_enqueue'], 10, 1); } }