# Add New Control
Elementor Core IntermediateElementor offers many built-in controls out of the box, but it also allows external developers to register new controls.
# Hooks
# Registering Controls
To register new controls use the following code:
function register_new_controls( $controls_manager ) {
require_once( __DIR__ . '/controls/control-1.php' );
require_once( __DIR__ . '/controls/control-2.php' );
$controls_manager->register( new \Elementor_Control_1() );
$controls_manager->register( new \Elementor_Control_2() );
}
add_action( 'elementor/controls/register', 'register_new_controls' );
1
2
3
4
5
6
7
8
9
10
2
3
4
5
6
7
8
9
10
The manager registers new controls by accepting control instances. For more information about the control class, read about the control class structure.