# content-control/2.6.1/classes/Controllers/Admin.php

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

- Page: https://pluginprobe.com/plugins/content-control/2.6.1/code/classes/Controllers/Admin.php
- Raw: https://pluginprobe.com/plugins/content-control/2.6.1/raw/classes/Controllers/Admin.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.6.1/code/classes/Controllers/Admin.php#L10-L20`.

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

namespace ContentControl\Controllers;

use ContentControl\Base\Controller;
use ContentControl\Controllers\Admin\Reviews;
use ContentControl\Controllers\Admin\SettingsPage;
use ContentControl\Controllers\Admin\Upgrades;
use ContentControl\Controllers\Admin\UserExperience;
use ContentControl\Controllers\Admin\WidgetEditor;

defined( 'ABSPATH' ) || exit;

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

	/**
	 * Initialize admin controller.
	 *
	 * @return void
	 */
	public function init() {
		$this->container->register_controllers( [
			'Admin\Reviews'        => new Reviews( $this->container ),
			'Admin\Settings'       => new SettingsPage( $this->container ),
			'Admin\Upgrades'       => new Upgrades( $this->container ),
			'Admin\UserExperience' => new UserExperience( $this->container ),
			'Admin\WidgetEditor'   => new WidgetEditor( $this->container ),
		] );
	}
}

```
