-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconstants.php
More file actions
25 lines (21 loc) · 594 Bytes
/
constants.php
File metadata and controls
25 lines (21 loc) · 594 Bytes
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
<?php
/**
* Set additional Ultimate Multisite plugin constants.
*
* @package WP_Ultimo
* @since 2.0.0
*/
// Exit if accessed directly
defined('ABSPATH') || exit;
// Plugin Folder Path
if ( ! defined('WP_ULTIMO_PLUGIN_DIR')) {
define('WP_ULTIMO_PLUGIN_DIR', plugin_dir_path(WP_ULTIMO_PLUGIN_FILE));
}
// Plugin Folder URL
if ( ! defined('WP_ULTIMO_PLUGIN_URL')) {
define('WP_ULTIMO_PLUGIN_URL', plugin_dir_url(WP_ULTIMO_PLUGIN_FILE));
}
// Plugin Root File
if ( ! defined('WP_ULTIMO_PLUGIN_BASENAME')) {
define('WP_ULTIMO_PLUGIN_BASENAME', plugin_basename(WP_ULTIMO_PLUGIN_FILE));
}