-
Notifications
You must be signed in to change notification settings - Fork 10
/
quickwp.php
39 lines (32 loc) · 915 Bytes
/
quickwp.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
39
<?php
/**
* Plugin Name: QuickWP
* Plugin URI: https://quickwp.ai
* Description: A plugin to help you build websites quickly.
* Author: ThemeIsle
* Version: 1.0.0
* Author URI: https://quickwp.ai
* License: GPL3+
* Text Domain: quickwp
*
* @package Codeinwp/QuickWP
*/
// If this file is called directly, abort.
if ( ! defined( 'WPINC' ) ) {
die;
}
define( 'QUICKWP_APP_BASEFILE', __FILE__ );
define( 'QUICKWP_APP_URL', plugins_url( '/', __FILE__ ) );
define( 'QUICKWP_APP_PATH', __DIR__ );
define( 'QUICKWP_APP_VERSION', '1.0.0' );
if ( ! defined( 'QUICKWP_APP_API' ) ) {
define( 'QUICKWP_APP_API', 'https://quickwp.com/api/' );
}
if ( ! defined( 'QUICKWP_APP_GUIDED_MODE' ) ) {
define( 'QUICKWP_APP_GUIDED_MODE', false );
}
$vendor_file = QUICKWP_APP_PATH . '/vendor/autoload.php';
if ( is_readable( $vendor_file ) ) {
require_once $vendor_file;
}
$quickwp = new \ThemeIsle\QuickWP\Main();