-
Notifications
You must be signed in to change notification settings - Fork 0
/
constants.php
35 lines (27 loc) · 1.34 KB
/
constants.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
<?php
/**
* Constants file.
*
* @package wpcomsh
*/
$current_dir = __DIR__;
// Base paths containing the location of WP.com and storefront themes, defined in Atomic.
if ( ! defined( 'THEMES_SYMLINK_BASE' ) || ! defined( 'THEMES_PATH_BASE' ) ) {
define( 'THEMES_SYMLINK_BASE', $current_dir );
define( 'THEMES_PATH_BASE', $current_dir );
}
define( 'WPCOMSH_PUB_THEMES_PATH', THEMES_PATH_BASE . '/pub' );
define( 'WPCOMSH_PREMIUM_THEMES_PATH', THEMES_PATH_BASE . '/premium' );
define( 'WPCOMSH_STOREFRONT_PATH', THEMES_PATH_BASE . '/storefront' );
define( 'WPCOMSH_PUB_THEMES_SYMLINK', THEMES_SYMLINK_BASE . '/pub' );
define( 'WPCOMSH_PREMIUM_THEMES_SYMLINK', THEMES_SYMLINK_BASE . '/premium' );
define( 'WPCOMSH_STOREFRONT_SYMLINK', THEMES_SYMLINK_BASE . '/storefront' );
define( 'WPCOMSH_PUB_THEME_TYPE', 'wpcom_pub_theme_type' );
define( 'WPCOMSH_PREMIUM_THEME_TYPE', 'wpcom_premium_theme_type' );
define( 'WPCOMSH_NON_WPCOM_THEME', 'non_wpcom_theme' );
define( 'WPCOMSH__PLUGIN_DIR_PATH', WP_CONTENT_DIR . '/mu-plugins/wpcomsh' );
define( 'WPCOMSH__PLUGIN_FILE', WPCOMSH__PLUGIN_DIR_PATH . '/wpcomsh.php' );
// Enable Jetpack's Experimental blocks.
define( 'JETPACK_BLOCKS_VARIATION', 'experimental' );
// Date for lowering storage from 200 GB to 50 GB for business and higher plans. Ref: D108151-code.
define( 'LEGACY_200GB_CUTOFF_DATE', '2023-07-20' );