first commit
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
<?php
|
||||
|
||||
namespace Elementor\Modules\Usage\Contracts;
|
||||
|
||||
if ( ! defined( 'ABSPATH' ) ) {
|
||||
exit; // Exit if accessed directly.
|
||||
}
|
||||
|
||||
interface Element_Usage_Calculator {
|
||||
public function can_calculate( array $element, $element_instance ): bool;
|
||||
|
||||
public function calculate( array $element, $element_instance, array $existing_usage ): array;
|
||||
}
|
||||
Reference in New Issue
Block a user