| 1 |
<?php |
| 2 |
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly |
| 3 |
|
| 4 |
/* main class for this plugin */ |
| 5 |
include_once 'WPVR_OXY_INTEGRATION.php'; |
| 6 |
|
| 7 |
global $wpvr_oxy_integration; |
| 8 |
$wpvr_oxy_integration = new WPVR_OXY_INTEGRATION(); |
| 9 |
|
| 10 |
/* Our Base Oxygen Element to extend upon */ |
| 11 |
include_once 'WPVR_CUSTOM_OXY_ELEMENT.php'; |
| 12 |
|
| 13 |
/* Include all of our Oxygen Elements dynamically */ |
| 14 |
$elements_filenames = glob(plugin_dir_path(__FILE__)."elements/*.php"); |
| 15 |
foreach ($elements_filenames as $filename) { |
| 16 |
include_once $filename; |
| 17 |
} |
| 18 |
|