forked from GatsbyWPGutenberg/gatsby-wordpress-gutenberg
-
Notifications
You must be signed in to change notification settings - Fork 0
/
plugin.php
30 lines (24 loc) · 818 Bytes
/
plugin.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<?php
/**
* Plugin Name: Gatsby Wordpress Gutenberg
* Plugin URI: https://github.com/pristas-peter/gatsby-wordpress-gutenberg
* Description: Enhance your gatsby project with gutenberg
* Version: 0.0.0
* Author: Peter Pristas, Henrik Wirth
* Text Domain: gatsby-wordpress-gutenberg
*
* @package gatsby-wordpress-gutenberg
*/
### BEGIN AUTO-GENERATED DEFINES
### END AUTO-GENERATED DEFINES
if (!defined('ABSPATH')) {
die('Silence is golden.');
}
if (!defined('GATSBY_WORDPRESS_GUTENBERG_AUTOLOAD')) {
define('GATSBY_WORDPRESS_GUTENBERG_AUTOLOAD', true);
}
if (defined('GATSBY_WORDPRESS_GUTENBERG_AUTOLOAD') && true === GATSBY_WORDPRESS_GUTENBERG_AUTOLOAD) {
// Autoload Required Classes.
require_once dirname(__FILE__) . '/vendor/autoload.php';
}
require_once dirname(__FILE__) . '/lib/init.php';