mirror of
https://github.com/WPMultisite/wp-multisite-subscriptions.git
synced 2025-08-06 09:09:23 +08:00
重命名:分叉 WP Ultimo
This commit is contained in:
parent
675cc66211
commit
afc807397f
5350 changed files with 1354268 additions and 604 deletions
31
constants.php
Normal file
31
constants.php
Normal file
|
@ -0,0 +1,31 @@
|
|||
<?php
|
||||
/**
|
||||
* Set additional WP Multisite Subscriptions 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));
|
||||
|
||||
} // end if;
|
||||
|
||||
// Plugin Folder URL
|
||||
if (!defined('WP_ULTIMO_PLUGIN_URL')) {
|
||||
|
||||
define('WP_ULTIMO_PLUGIN_URL', plugin_dir_url(WP_ULTIMO_PLUGIN_FILE));
|
||||
|
||||
} // end if;
|
||||
|
||||
// Plugin Root File
|
||||
if (!defined('WP_ULTIMO_PLUGIN_BASENAME')) {
|
||||
|
||||
define('WP_ULTIMO_PLUGIN_BASENAME', plugin_basename(WP_ULTIMO_PLUGIN_FILE));
|
||||
|
||||
} // end if;
|
Loading…
Add table
Add a link
Reference in a new issue