Configure options via wp-config.php? | WordPress.org

[ad_1]

No, sorry 🙁

Why would you want that though? Maybe we can add something at some point…

Thread Starter
onnuex

(@onnuex)

Thank you @talextech for the fast reply!

I’m using NixOS and planning on packaging the login-lockdown plugin. The nice thing about NixOS is that you can configure your WordPress instance automatically deploy it.

I added a section on security hardening which automatically install plugins and activates them which enhances login security. I would like to add login-lockdown to it https://nixos.wiki/wiki/Wordpress#Security_hardening

It would be nice to configure the options through wp-config.php so we could use it in NixOS like this:

settings = {
  LOGIN_LOCKDOWN_MAX_RETRIES = 3;
  LOGIN_LOCKDOWN_RETRY_TIME_PERIOD = 5;
  LOGIN_LOCKDOWN_MASK_ERRORS = true;
};

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer