-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwpchunks.php
More file actions
21 lines (19 loc) · 829 Bytes
/
wpchunks.php
File metadata and controls
21 lines (19 loc) · 829 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<?php
/*
Plugin Name: WP Chunks
Description: A plugin that create a component engine to Wordpress.
Version: 0.0.1
Auhtor: ale@alemacedo.com
Author URI: https://github.com/aledebarba
*/
require_once __DIR__ . '/vendor/autoload.php'; // PHP Sass Compiler
require_once __DIR__ . '/classes/plugin.php'; // WP Chunks Plugin
require_once __DIR__ . '/classes/component-core-options.php';
require_once __DIR__ . '/classes/component-element.php';
require_once __DIR__ . '/classes/component.php';
require_once __DIR__ . '/functions/auxiliary.php';
require_once __DIR__ . '/functions/sass-compiler.php';
// create plugin instance
$wpChunksPlugin = new WPChunksPlugin();
$components_core_options = new Components_Core_Options( $wpChunksPlugin->getOption('folderPath'), $wpChunksPlugin->getOption('filePrefix'));
?>