# content-control/2.0.1/classes/Controllers/Compatibility.php

Content Control – The Ultimate Content Restriction Plugin! Restrict Content, Create Conditional Blocks &amp; More, version 2.0.1. 37 lines.

- Page: https://pluginprobe.com/plugins/content-control/2.0.1/code/classes/Controllers/Compatibility.php
- Raw: https://pluginprobe.com/plugins/content-control/2.0.1/raw/classes/Controllers/Compatibility.php
- Modified: 2023-09-18T01:47:10+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/content-control/2.0.1/code/classes/Controllers/Compatibility.php#L10-L20`.

```php
<?php
/**
 * Compatibility controller.
 *
 * @copyright (c) 2022, Code Atlantic LLC.
 *
 * @package ContentControl
 */

namespace ContentControl\Controllers;

use ContentControl\Base\Controller;
use ContentControl\Controllers\Compatibility\Divi;
use ContentControl\Controllers\Compatibility\Elementor;

defined( 'ABSPATH' ) || exit;

/**
 * Admin controller  class.
 *
 * @package ContentControl
 */
class Compatibility extends Controller {

	/**
	 * Initialize admin controller.
	 *
	 * @return void
	 */
	public function init() {
		$this->container->register_controllers( [
			'Compatibility\Divi'      => new Divi( $this->container ),
			'Compatibility\Elementor' => new Elementor( $this->container ),
		] );
	}
}

```
