• File: BlockInterface.php
  • Full Path: /home/slvgwrnz/public_html/wp-content/plugins/woocommerce/src/Admin/BlockTemplates/BlockInterface.php
  • Date Modified: 11/04/2026 12:40 PM
  • File size: 1.02 KB
  • MIME-type: text/x-php
  • Charset: utf-8
<?php

/**
 * WooCommerce Block Templates block interface compatibility shim.
 */

namespace Automattic\WooCommerce\Admin\BlockTemplates;

/**
 * Removed block templates block interface.
 *
 * @deprecated 10.9.0 Block template extension APIs were deprecated. The block templates API was removed in 11.0.0 with no replacement.
 */
interface BlockInterface {
	/**
	 * Key for the block name in the block configuration.
	 */
	public const NAME_KEY = 'blockName';

	/**
	 * Key for the block ID in the block configuration.
	 */
	public const ID_KEY = 'id';

	/**
	 * Key for the internal order in the block configuration.
	 */
	public const ORDER_KEY = 'order';

	/**
	 * Key for the block attributes in the block configuration.
	 */
	public const ATTRIBUTES_KEY = 'attributes';

	/**
	 * Key for the block hide conditions in the block configuration.
	 */
	public const HIDE_CONDITIONS_KEY = 'hideConditions';

	/**
	 * Key for the block disable conditions in the block configuration.
	 */
	public const DISABLE_CONDITIONS_KEY = 'disableConditions';
}