generated from niiknow/vue-wp-plugin-starter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwp-serverless-grid.php
38 lines (33 loc) · 1020 Bytes
/
wp-serverless-grid.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
31
32
33
34
35
36
37
38
<?php
/*
Plugin Name: Serverless Grid
Plugin URI: https://github.com/niiknow/wp-serverless-grid
Description: A WordPress Plugin for static site searching
Version: 1.0.0
Author: noogen
Text Domain: serverless_grid
Domain Path: /languages
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/
// don't call the file directly
if (!defined('ABSPATH')) {
exit;
}
/*
|--------------------------------------------------------------------------
| Register The Auto Loader
|--------------------------------------------------------------------------
|
| Composer provides a convenient, automatically generated class loader for
| this application. We just need to utilize it! We'll simply require it
| into the script here so we don't need to manually load our classes.
|
*/
require __DIR__ . '/vendor/autoload.php';
/**
* Returns the main instance to prevent the need to use globals.
*/
$instance = \ServerlessGrid\Main::get_instance(__FILE__, '1.0.0');
$instance->run();
return $instance;