Skip to content

craigiswayne/wp-shanela

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Shanela

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

About

ReAligns the WordPress Core files to the root of the project

Resources

Contributing

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages