craigiswayne/wp-shanela

ReAligns the WordPress Core files to the root of the project

Installs: 468

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 3

Forks: 0

Open Issues: 3

Type:composer-plugin

1.0.6 2024-04-04 16:23 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