Support » Plugin: Elementor Page Builder » Can not override Element_Base class in custom plugin

  • Hi team,

    We are trying to override section and column elements in our custom plugin. but when we had included same file ( for column ) as in elementor gives, then it throws Fatal error like Fatal error: Class ‘Elementor\Element_Base’ not found.
    For your information, we have register elementor_type with below code

    add_action( 'elementor/controls/elements_registered', [ $this, 'register_elements' ] );
    public function register_elements(){
    		\Elementor\Plugin::instance()->elements_manager->register_element_type( new Elements\Element_Column() );
    	}
    
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Can not override Element_Base class in custom plugin’ is closed to new replies.