first commit

This commit is contained in:
2024-07-31 13:12:38 +07:00
commit b4e8cbe182
10213 changed files with 3125839 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
<?php
namespace Elementor;
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly.
}
/**
* Group control interface.
*
* An interface for Elementor group control.
*
* @since 1.0.0
*/
interface Group_Control_Interface {
/**
* Get group control type.
*
* Retrieve the group control type.
*
* @since 1.0.0
* @access public
* @static
*/
public static function get_type();
}

View File

@@ -0,0 +1,14 @@
<?php
namespace Elementor;
/**
* Elementor has validation interface.
*
* @param array $control_data The value to validate.
* @return bool True on valid, throws an exception on error.
* @throws \Exception If validation fails.
*/
interface Has_Validation {
public function validate( array $control_data ): bool;
}