# product-addons/trunk/includes/blocks/interfaces/class-block-interface.php

WowAddons – Product Addons and Product Options With Custom Fields, version trunk. 39 lines.

- Page: https://pluginprobe.com/plugins/product-addons/trunk/code/includes/blocks/interfaces/class-block-interface.php
- Raw: https://pluginprobe.com/plugins/product-addons/trunk/raw/includes/blocks/interfaces/class-block-interface.php
- Modified: 2026-09-27T12:45:04+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/product-addons/trunk/code/includes/blocks/interfaces/class-block-interface.php#L10-L20`.

```php
<?php
/**
 * Block Interface
 *
 * @package PRAD
 * @since 1.0.0
 */

namespace PRAD\Includes\Blocks\Interfaces;

defined( 'ABSPATH' ) || exit;

/**
 * Block Interface - All blocks must implement this
 */
interface Block_Interface {

	/**
	 * Render the block HTML
	 *
	 * @return string
	 */
	public function render(): string;

	/**
	 * Get the block type identifier
	 *
	 * @return string
	 */
	public function get_type(): string;

	/**
	 * Get block configuration data
	 *
	 * @return array
	 */
	public function get_config(): array;
}

```
