-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.php
32 lines (26 loc) · 820 Bytes
/
index.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
<?php
/**
* Plugin Name: VulPress Starter Plugin
* Plugin URI: https://example.com/
* Description: A starting point for developing WordPress plugins using Vue 3 and Tailwind
* Version: 0.1.0
* Author: Your Name
* Author URI: https://example.com/
* Text Domain: example-plugin
* License: GPLv3
* License URI: https://www.gnu.org/licenses/gpl-3.0.html
* Domain Path: /languages
*/
defined('ABSPATH') || die; // Blocks direct access
/* Set to true while developing locally with vite */
//define('VULPRESS_DEV', true);
require __DIR__ . '/bootstrap/autoloader.php';
require __DIR__ . '/bootstrap/functions.php';
use VulPress\Plugin;
use VulPress\Controllers\AdminSettingsController;
$plugin = new Plugin([
'version' => '0.1.0',
]);
$plugin->load([
AdminSettingsController::class,
]);