| 1 |
<?php |
| 2 |
/** |
| 3 |
* Plugin container. |
| 4 |
* |
| 5 |
* @copyright (c) 2021, Code Atlantic LLC. |
| 6 |
* |
| 7 |
* @package ContentControl |
| 8 |
*/ |
| 9 |
|
| 10 |
namespace ContentControl\Interfaces; |
| 11 |
|
| 12 |
defined( 'ABSPATH' ) || exit; |
| 13 |
|
| 14 |
/** |
| 15 |
* Localized controller class. |
| 16 |
*/ |
| 17 |
interface Controller { |
| 18 |
|
| 19 |
/** |
| 20 |
* Handle hooks & filters or various other init tasks. |
| 21 |
* |
| 22 |
* @return void |
| 23 |
*/ |
| 24 |
public function init(); |
| 25 |
|
| 26 |
/** |
| 27 |
* Check if controller is enabled. |
| 28 |
* |
| 29 |
* @return bool |
| 30 |
*/ |
| 31 |
public function controller_enabled(); |
| 32 |
} |
| 33 |
|