# content-control/trunk/classes/Interfaces/Controller.php

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

- Page: https://pluginprobe.com/plugins/content-control/trunk/code/classes/Interfaces/Controller.php
- Raw: https://pluginprobe.com/plugins/content-control/trunk/raw/classes/Interfaces/Controller.php
- Modified: 2024-06-21T09:00:36+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/trunk/code/classes/Interfaces/Controller.php#L10-L20`.

```php
<?php
/**
 * Plugin container.
 *
 * @copyright (c) 2021, Code Atlantic LLC.
 *
 * @package ContentControl
 */

namespace ContentControl\Interfaces;

defined( 'ABSPATH' ) || exit;

/**
 * Localized controller class.
 */
interface Controller {

	/**
	 * Handle hooks & filters or various other init tasks.
	 *
	 * @return void
	 */
	public function init();

	/**
	 * Check if controller is enabled.
	 *
	 * @return bool
	 */
	public function controller_enabled();
}

```
