-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.php
More file actions
45 lines (41 loc) · 1.35 KB
/
Copy pathindex.php
File metadata and controls
45 lines (41 loc) · 1.35 KB
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
39
40
41
42
43
44
45
<?php
/*
Plugin Name: {APP-NAME}
Plugin URI: {APP-URI}
Description: {APP-DESC}
Author: {APP-AUTHOR}
Author URI: {APP-AUTHOR-URI}
Version: {APP-VERSION}
License: GPL-3.0
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: {APP-DOMAIN}
Domain Path: /app/Resources/languages
*/
// Initialization of application
require plugin_dir_path(__FILE__) . '/bootstrap.php';
new __{APP-CLASS}_Bootstrap(array(
'name' => '{APP-NAME}', // Application name
'slug' => '{APP-SLUG}', // Application slug
'mode' => 'plugin', // Application mode
'rpv' => '8.1', // Required PHP version
'rwv' => '6.5', // Required WordPress version
'dev' => (defined('WP_DEBUG') ? WP_DEBUG : false),
'class' => '{APP-CLASS}\Application',
'class-alias' => '{APP-CLASS-ALIAS}',
'file-load-path' => false,
'session' => false,
// Debugger
'debug' => true,
'email' => get_option('admin_email', null),
'log' => false,
'log-severity' => 0,
'log-max-files' => 10,
'strict-mode' => true,
'show-bar' => true,
'max-depth' => 40,
'max-length' => 150,
'editor' => 'vscode://file/%file:%line',
));
/**
* Under this message you can put your functions
*/