craigiswayne/wp-shanela

ReAligns the WordPress Core files to the root of the project

Maintainers

Package info

github.com/craigiswayne/wp-shanela

Type:composer-plugin

pkg:composer/craigiswayne/wp-shanela

Statistics

Installs: 671

Dependents: 0

Suggesters: 0

Stars: 1

Open Issues: 3

1.0.6 2024-04-04 16:23 UTC

This package is auto-updated.

Last update: 2026-03-04 20:39:33 UTC


README

Moves the wordpress core files to the root of your project

Usage

composer require craigiswayne/wp-shanela

Options

You have 2 options that you can configure:

  • removeDefaultPlugins (default: true)
  • removeThemes (default: true)
    • Allows you to specify which themes to remove
    • If removeDefaultThemes is specified, will use that value instead
{
    "extra": {
        "wp-shanela": {
            "removeThemes": true,
            "removeThemes": [
                "twentytwentytwo"
            ],
            "removeDefaultPlugins": false
        }
    }
}

Resources

  1. https://www.masterzendframework.com/series/tooling/composer/automation-scripts/
  2. https://pantheon.io/blog/writing-composer-scripts
  3. Composer API