-
Notifications
You must be signed in to change notification settings - Fork 7
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
Thought as composer mu-plugin #13
Comments
Hello Maxime, I am not aware of mu-plugins. Thanks, |
Hello @salil-elevati, So I would have load this plugin as Must Use Plugin rather than a traditionnal plugin. The main reason is that plugin can be deactivated. So if the WordPress is running a web add, etc, the wanted contents available through created routes could not be anymore reachable. To avoid this, loaded as mu-plugin with a mu-loader, this plugin would be always activated, no matters what happens. What do you think about it ? |
Hello @MaximeCulea So, do I need to change in the plugin composer.json to install in mu-plugins directory? |
Hello @salil-elevati, I would simply change Best, |
Hi there !
Thx you for this awesome work. I wanted to implement it myself, then I saw your plugin.
One thought, I will require it as composer mu-plugin and not plugin. As it could break routes and then content requesting.
With mu-loader, it's very smooth ;)
The text was updated successfully, but these errors were encountered: