Controller::load()
{@inheritdoc}
Source
File: src/Events/Integrations/Plugins/Elementor/Controller.php
public function load(): void {
$this->container->register_on_action( 'elementor/init', Template_Controller::class );
$this->container->register_on_action( 'elementor/widgets/register', Widgets_Manager::class );
$this->container->register_on_action( 'elementor/loaded', Assets_Manager::class );
$this->register_actions();
$this->register_filters();
// Make sure we instantiate the assets manager.
tribe( Assets_Manager::class );
// Make sure we instantiate the templates controller.
tribe( Template_Controller::class );
$this->register_assets();
}
Changelog
| Version | Description |
|---|---|
| 6.4.0 | Introduced. |