Divider Control

Elementor divider control displays a separator between controls.

The control is defined in Control_Divider class which extends Base_UI_Control class.

Note that when using the control, the type should be set using the \Elementor\Controls_Manager::DIVIDER constant.


Name Type Default Description
type string divider The type of the control.
separator string none Set the position of the control separator. Available values are default, before, after and none. default will position the separator depending on the control type. before / after will position the separator before/after the control. none will hide the separator.

Return Value

This control does not return any value.


class Elementor_Test_Widget extends \Elementor\Widget_Base {

	protected function _register_controls() {

				'label' => __( 'Content', 'plugin-name' ),
				'tab' => \Elementor\Controls_Manager::TAB_CONTENT,

				'type' => \Elementor\Controls_Manager::DIVIDER,




Never miss an update
Subscribe to our developer’s newsletter for every latest update