first commit
This commit is contained in:
43
wp-content/plugins/elementor/includes/controls/divider.php
Normal file
43
wp-content/plugins/elementor/includes/controls/divider.php
Normal file
@@ -0,0 +1,43 @@
|
||||
<?php
|
||||
namespace Elementor;
|
||||
|
||||
if ( ! defined( 'ABSPATH' ) ) {
|
||||
exit; // Exit if accessed directly.
|
||||
}
|
||||
|
||||
/**
|
||||
* Elementor divider control.
|
||||
*
|
||||
* A base control for creating divider control. Displays horizontal line in
|
||||
* the panel.
|
||||
*
|
||||
* @since 2.0.0
|
||||
*/
|
||||
class Control_Divider extends Base_UI_Control {
|
||||
|
||||
/**
|
||||
* Get divider control type.
|
||||
*
|
||||
* Retrieve the control type, in this case `divider`.
|
||||
*
|
||||
* @since 2.0.0
|
||||
* @access public
|
||||
*
|
||||
* @return string Control type.
|
||||
*/
|
||||
public function get_type() {
|
||||
return 'divider';
|
||||
}
|
||||
|
||||
/**
|
||||
* Render divider control output in the editor.
|
||||
*
|
||||
* Used to generate the control HTML in the editor using Underscore JS
|
||||
* template. The variables for the class are available using `data` JS
|
||||
* object.
|
||||
*
|
||||
* @since 2.0.0
|
||||
* @access public
|
||||
*/
|
||||
public function content_template() {}
|
||||
}
|
||||
Reference in New Issue
Block a user