-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.php
48 lines (48 loc) · 1.6 KB
/
config.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
40
41
42
43
44
45
46
47
48
<?php
// Plugin version.
if ( ! defined( 'WP_WAX_PLIGIN_VERSION' ) ) {
define( 'WP_WAX_PLIGIN_VERSION', '1.0.0' );
}
// Script version.
if ( ! defined( 'WP_WAX_SCRIPT_VERSION' ) ) {
define( 'WP_WAX_SCRIPT_VERSION', WP_WAX_PLIGIN_VERSION );
}
// Script version.
if ( ! defined( 'WP_WAX_LOAD_MIN_FILES' ) ) {
define( 'WP_WAX_LOAD_MIN_FILES', false );
}
if ( ! defined( 'WP_WAX_PLIGIN_BASE' ) ) {
define( 'WP_WAX_PLIGIN_BASE', trailingslashit( dirname( WP_WAX_PLIGIN_FILE ) ) );
}
// Plugin Folder Path.
if ( ! defined( 'WP_WAX_PLIGIN_DIR' ) ) {
define( 'WP_WAX_PLIGIN_DIR', trailingslashit( plugin_dir_path( WP_WAX_PLIGIN_FILE ) ) );
}
// Plugin Folder URL.
if ( ! defined( 'WP_WAX_PLIGIN_URL' ) ) {
define( 'WP_WAX_PLIGIN_URL', trailingslashit( plugin_dir_url( WP_WAX_PLIGIN_FILE ) ) );
}
// Plugin Assets Path
if ( ! defined( 'WP_WAX_PLIGIN_ASSETS' ) ) {
define( 'WP_WAX_PLIGIN_ASSETS', WP_WAX_PLIGIN_URL . 'assets/' );
}
// Plugin Assets CSS
if ( ! defined( 'WP_WAX_PLIGIN_CSS' ) ) {
define( 'WP_WAX_PLIGIN_CSS', WP_WAX_PLIGIN_URL . 'assets/css/' );
}
// Plugin Assets JS
if ( ! defined( 'WP_WAX_PLIGIN_JS' ) ) {
define( 'WP_WAX_PLIGIN_JS', WP_WAX_PLIGIN_URL . 'assets/js' );
}
// Plugin Templates Path
if ( ! defined( 'WP_WAX_PLIGIN_TEMPLATES_DIR' ) ) {
define( 'WP_WAX_PLIGIN_TEMPLATES_DIR', WP_WAX_PLIGIN_BASE . 'templates/' );
}
// Plugin Language File Path
if ( ! defined('WP_WAX_PLIGIN_LANG_DIR' ) ) {
define( 'WP_WAX_PLIGIN_LANG_DIR', WP_WAX_PLIGIN_BASE . 'languages' );
}
// Plugin Name
if ( ! defined('WP_WAX_PLIGIN_NAME') ) {
define( 'WP_WAX_PLIGIN_NAME', 'WP WaX Plugin' );
}