Deprecated:_register_controls is deprecated since version 3.1.0!

Deprecated:_register_controls is deprecated since version 3.1.0! Use Elementor\Controls_Stack::register_controls() instead. in

Deprecated:_register_controls is deprecated since version 3.1.0! Use Elementor\Controls_Stack::register_controls() instead. in

elementor/includes/base/controls-stack.php

protected function init_controls() { 
Plugin::$instance->controls_manager->open_stack( $this ); 

// TODO: This is for backwards compatibility starting from 2.9.0 
// This `if` statement should be removed when the method is removed 
if ( $this->has_own_method( '_register_controls', self::class ) ) { 
Plugin::$instance->modules_manager->get_modules( 'dev-tools' )->deprecation->deprecated_function( '_register_controls', '3.1.0', __CLASS__ . '::register_controls()' ); 

$this->_register_controls(); 
} else { 
$this->register_controls(); 
} 
} 

Leave a Comment

Your email address will not be published.

%d bloggers like this: