add_common_sections( $element, $args ); }, 10, 2 ); // Activate sections for sections add_action( 'elementor/element/section/section_custom_css/after_section_end', function( $element, $args ) { $this->add_common_sections( $element, $args ); }, 10, 2 ); // Activate sections for widgets if elementor pro add_action( 'elementor/element/common/section_custom_css_pro/after_section_end', function( $element, $args ) { $this->add_common_sections( $element, $args ); }, 10, 2 ); } /** * Add Actions * * @since 2.0.0 * * @access protected */ protected function add_actions() { $module = \ElementorExtras\ElementorExtrasPlugin::instance()->modules_manager->get_modules( 'display-conditions' ); $module->add_actions(); } }