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

39 lines 855 B
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\Divi;
14 use ContentControl\Controllers\Compatibility\Elementor;
15 use ContentControl\Controllers\Compatibility\QueryMonitor;
16
17 defined( 'ABSPATH' ) || exit;
18
19 /**
20 * Admin controller class.
21 *
22 * @package ContentControl
23 */
24 class Compatibility extends Controller {
25
26 /**
27 * Initialize admin controller.
28 *
29 * @return void
30 */
31 public function init() {
32 $this->container->register_controllers( [
33 'Compatibility\Divi' => new Divi( $this->container ),
34 'Compatibility\Elementor' => new Elementor( $this->container ),
35 'Compatibility\QueryMonitor' => new QueryMonitor( $this->container ),
36 ] );
37 }
38 }
39