Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set composer package type to wordpress-plugin #75

Merged
merged 1 commit into from
Oct 20, 2023

Conversation

mklepaczewski
Copy link
Contributor

This is standard for WP plugins installed via composer. It allows installation in the correct plugins directory with the following changes to user's project composer.json:

"extra": {
        "installer-paths": {
            "wp-content/mu-plugins/{$name}/": ["type:wordpress-muplugin"],
            "wp-content/plugins/{$name}/": ["type:wordpress-plugin"]
        }
    }

The specific path might vary from project to project. roots/bedrock might use web/app/plugins/{$name}/ instead

This is standard for WP plugins installed via composer.
@crstauf
Copy link
Owner

crstauf commented Oct 20, 2023

Thanks, @mklepaczewski!

@crstauf crstauf merged commit 6917690 into crstauf:master Oct 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants