PluginProbe
Content Control – The Ultimate Content Restriction Plugin! Restrict Content, Create Conditional Blocks & More / 2.6.3
Content Control – The Ultimate Content Restriction Plugin! Restrict Content, Create Conditional Blocks & More v2.6.3
trunk 1.0.0 1.0.1 1.0.2 1.0.3 1.1.0 1.1.1 1.1.10 1.1.2 1.1.3 1.1.4 1.1.5 1.1.6 1.1.7 1.1.8 2.0.0 2.0.1 2.0.10 2.0.11 2.0.12 2.0.2 2.0.3 2.0.4 2.0.5 2.0.6 All 47 releases
content-control / classes / Controllers / Admin.php

Admin.php in Content Control – The Ultimate Content Restriction Plugin! Restrict Content, Create Conditional Blocks & More 2.6.3, at classes/Controllers/Admin.php

43 lines 1.0 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Admin controller.
4 *
5 * @copyright (c) 2022, Code Atlantic LLC.
6 *
7 * @package ContentControl
8 */
9
10 namespace ContentControl\Controllers;
11
12 use ContentControl\Base\Controller;
13 use ContentControl\Controllers\Admin\Reviews;
14 use ContentControl\Controllers\Admin\SettingsPage;
15 use ContentControl\Controllers\Admin\Upgrades;
16 use ContentControl\Controllers\Admin\UserExperience;
17 use ContentControl\Controllers\Admin\WidgetEditor;
18
19 defined( 'ABSPATH' ) || exit;
20
21 /**
22 * Admin controller class.
23 *
24 * @package ContentControl
25 */
26 class Admin extends Controller {
27
28 /**
29 * Initialize admin controller.
30 *
31 * @return void
32 */
33 public function init() {
34 $this->container->register_controllers( [
35 'Admin\Reviews' => new Reviews( $this->container ),
36 'Admin\Settings' => new SettingsPage( $this->container ),
37 'Admin\Upgrades' => new Upgrades( $this->container ),
38 'Admin\UserExperience' => new UserExperience( $this->container ),
39 'Admin\WidgetEditor' => new WidgetEditor( $this->container ),
40 ] );
41 }
42 }
43