• File: element-usage-calculator.php
  • Full Path: /home/bravrvjk/hpgt.org/wp-content/plugins/elementor/modules/usage/contracts/element-usage-calculator.php
  • Date Modified: 02/05/2026 1:46 AM
  • File size: 335 bytes
  • MIME-type: text/x-php
  • Charset: utf-8
<?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;
}