# ablocks/2.8.1/includes/frontend/dynamic-content/interpreters/site-info.php

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

- Page: https://pluginprobe.com/plugins/ablocks/2.8.1/code/includes/frontend/dynamic-content/interpreters/site-info.php
- Raw: https://pluginprobe.com/plugins/ablocks/2.8.1/raw/includes/frontend/dynamic-content/interpreters/site-info.php
- Modified: 2025-04-09T16:19:26+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.8.1/code/includes/frontend/dynamic-content/interpreters/site-info.php#L10-L20`.

```php
<?php
namespace ABlocks\Frontend\DynamicContent\Interpreters;

use ABlocks\Helper;
if ( ! defined( 'ABSPATH' ) ) {
	exit;
}
abstract class SiteInfo extends Abstracts\Interpreter {
	abstract public function info() : string;

	public function content() : string {
		$this->setting = array_values( array_filter( $this->setting ) );
		$info = $this->info();
		return count( $this->setting ) > 2 ? ( $this->setting[0] ?? '' ) . ( empty( $info ) ? ( $this->setting[2] ?? '' ) : $info ) . ( $this->setting[1] ?? '' ) : $info;
	}
}

```
