# getwid/3.0.1/includes/blocks/content-timeline.php

Getwid – Gutenberg Blocks, version 3.0.1. 28 lines.

- Page: https://pluginprobe.com/plugins/getwid/3.0.1/code/includes/blocks/content-timeline.php
- Raw: https://pluginprobe.com/plugins/getwid/3.0.1/raw/includes/blocks/content-timeline.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.1/code/includes/blocks/content-timeline.php#L10-L20`.

```php
<?php

namespace Getwid\Blocks;

class ContentTimeline extends AbstractBlock {

	public function __construct() {

		parent::__construct( 'getwid/content-timeline' );

		register_block_type(
			getwid_get_plugin_path( 'assets/blocks/content-timeline/content-timeline' )
		);

		register_block_type(
			getwid_get_plugin_path( 'assets/blocks/content-timeline/content-timeline-item' )
		);
	}

	public function get_label() {
		return __( 'Content Timeline', 'getwid' );
	}
}

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

```
