Controls_Manager::register()

Registers the controls with Elementor.

Contents


Source

File: src/Events/Integrations/Plugins/Elementor/Controls_Manager.php

	public function register() {
		$objects = $this->get_registered_objects();

		$controls_manager = Elementor_Plugin::instance()->controls_manager;

		foreach ( $objects as $slug => $object_class ) {
			$control = tribe( $object_class );
			if ( $control instanceof Group_Control_Base ) {
				$controls_manager->add_group_control( $control->get_type(), $control );
			} else {
				$controls_manager->register( $control, $control->get_type() );
			}
		}
	}

Top ↑

Changelog

Changelog
Version Description
6.4.0 Introduced.