PluginProbe
Nested Pages / 3.2.7
Nested Pages v3.2.7
3.3.1 3.2.15 3.2.14 3.1.8 3.1.9 3.2.0 3.2.1 3.2.10 3.2.11 3.2.12 3.2.13 3.2.2 3.2.3 3.2.4 3.2.5 3.2.6 3.2.7 3.2.8 3.2.9 trunk 1.0 1.1 1.1.1 1.1.2 1.1.3 All 106 releases
wp-nested-pages / app / Entities / PluginIntegration / IntegrationFactory.php
IntegrationFactory.php
32 lines 816 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 namespace NestedPages\Entities\PluginIntegration;
3
4 use NestedPages\Entities\PluginIntegration\EditorialAccessManager;
5 use NestedPages\Entities\PluginIntegration\AdvancedCustomFields;
6 use NestedPages\Entities\PluginIntegration\YoastSeo;
7 use NestedPages\Entities\PluginIntegration\WPML;
8 use NestedPages\Entities\PluginIntegration\DarkMode;
9
10 class IntegrationFactory
11 {
12 /**
13 * Integration Classes
14 */
15 public $plugins;
16
17 public function __construct()
18 {
19 $this->build();
20 return $this->plugins;
21 }
22
23 public function build()
24 {
25 $this->plugins = new \StdClass();
26 $this->plugins->editorial_access_manager = new EditorialAccessManager;
27 $this->plugins->acf = new AdvancedCustomFields;
28 $this->plugins->yoast = new YoastSeo;
29 $this->plugins->wpml = new WPML;
30 $this->plugins->dark_mode = new DarkMode;
31 }
32 }