PluginProbe
Content Control – The Ultimate Content Restriction Plugin! Restrict Content, Create Conditional Blocks & More / 2.6.0
Content Control – The Ultimate Content Restriction Plugin! Restrict Content, Create Conditional Blocks & More v2.6.0
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 / Compatibility.php

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

43 lines 1.1 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Compatibility 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\Compatibility\BetterDocs;
14 use ContentControl\Controllers\Compatibility\Divi;
15 use ContentControl\Controllers\Compatibility\Elementor;
16 use ContentControl\Controllers\Compatibility\QueryMonitor;
17 use ContentControl\Controllers\Compatibility\TheEventsCalendar;
18
19 defined( 'ABSPATH' ) || exit;
20
21 /**
22 * Admin controller class.
23 *
24 * @package ContentControl
25 */
26 class Compatibility extends Controller {
27
28 /**
29 * Initialize admin controller.
30 *
31 * @return void
32 */
33 public function init() {
34 $this->container->register_controllers( [
35 'Compatibility\BetterDocs' => new BetterDocs( $this->container ),
36 'Compatibility\Divi' => new Divi( $this->container ),
37 'Compatibility\Elementor' => new Elementor( $this->container ),
38 'Compatibility\QueryMonitor' => new QueryMonitor( $this->container ),
39 'Compatibility\TheEventsCalendar' => new TheEventsCalendar( $this->container ),
40 ] );
41 }
42 }
43