WP Manifestindependent plugin directory
manifest / developer / extrachill-dev

Extra Chill Dev Tools

WordPress plugin providing development environment overrides for the Extra Chill Platform multisite network

★ 0stars

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/extra-chill/extrachill-dev/archive/refs/heads/main.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

Development environment overrides for the Extra Chill Platform.

Purpose

This plugin provides URL overrides for local development environments, allowing the platform's navigation system to work correctly with local subdirectory multisite setups.

Usage

  1. Customize the $local_base and $local_paths arrays in inc/core/url-overrides.php for your local environment
  2. Network activate the plugin
  3. The ec_get_site_url() function will now return local URLs instead of production domains

Environment Detection

The plugin only activates overrides when WP_ENVIRONMENT_TYPE === 'local' is defined.

Configuration

URL Overrides

Modify the URL mappings in inc/core/url-overrides.php to match your local setup:

$local_base = 'https://your-local-domain.com';
$local_paths = array(
    'main' => '/',
    'community' => '/community/',
    // ... etc
);

Stripe Test Keys

The plugin provides flexible Stripe test key configuration for local development:

Option 1: Local Config File (Recommended) Create inc/core/stripe-config.php with your actual test keys:

$extrachill_dev_stripe_secret_key = 'sk_test_...';
$extrachill_dev_stripe_publishable_key = 'pk_test_...';
$extrachill_dev_stripe_webhook_secret = ''; // Optional

This file is gitignored and keeps secrets local.

Option 2: wp-config.php Constants Define constants in your wp-config.php:

define('EXTRACHILL_DEV_STRIPE_SECRET_KEY', 'sk_test_...');
define('EXTRACHILL_DEV_STRIPE_PUBLISHABLE_KEY', 'pk_test_...');

Default: Placeholders If neither option is used, placeholder keys are provided for basic functionality (won't work for actual Stripe testing).

Turnstile Bypass

The Turnstile verification is automatically bypassed in local environments.