# ablocks/2.13.1/includes/frontend.php

aBlocks – Gutenberg Blocks, User Dashboard Builder, Popup Builder, Form Builder &amp; Animation Builder, version 2.13.1. 24 lines.

- Page: https://pluginprobe.com/plugins/ablocks/2.13.1/code/includes/frontend.php
- Raw: https://pluginprobe.com/plugins/ablocks/2.13.1/raw/includes/frontend.php
- Modified: 2026-08-12T16:07:22+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/ablocks/2.13.1/code/includes/frontend.php#L10-L20`.

```php
<?php
namespace ABlocks;

if ( ! defined( 'ABSPATH' ) ) {
	exit; // Exit if accessed directly.
}

class Frontend {
	public static function init() {
		$self = new self();
		$self->dispatch_hooks();
	}

	public function dispatch_hooks() {
		Frontend\Template::init();
		Frontend\Link::init();
		Frontend\LinkPassthrough::init();
		if ( ! is_admin() || defined( 'DOING_AJAX' ) && DOING_AJAX ) {
			add_filter( 'render_block', [ Frontend\DynamicContent\Interpreter::class, 'init' ], 10, 3 );
		}
	}

}

```
