# getwid/3.0.2/includes/blocks/image-box.php

Getwid – Gutenberg Blocks, version 3.0.2. 25 lines.

- Page: https://pluginprobe.com/plugins/getwid/3.0.2/code/includes/blocks/image-box.php
- Raw: https://pluginprobe.com/plugins/getwid/3.0.2/raw/includes/blocks/image-box.php
- Modified: 2026-08-28T10:51:30+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/getwid/3.0.2/code/includes/blocks/image-box.php#L10-L20`.

```php
<?php

namespace Getwid\Blocks;

class ImageBox extends AbstractBlock {

	public function __construct() {

		parent::__construct( 'getwid/image-box' );

		register_block_type(
			getwid_get_plugin_path( 'assets/blocks/image-box' )
		);
	}

	public function get_label() {
		return __( 'Image Box', 'getwid' );
	}
}


getwid()->blocksManager()->addBlock(
	new ImageBox()
);

```
