• Resolved rystraum

    (@rystraum)


    Hello,

    Is it possible to set plugin settings via wp-config.php?
    For example, in S3-Uploads, you can configure the following on wp-config.php

    define(‘S3_UPLOADS_BUCKET’, ‘…’);
    define(‘S3_UPLOADS_KEY’, ‘…’);
    define(‘S3_UPLOADS_SECRET’, ‘…’);
    define(‘S3_UPLOADS_REGION’, ‘…’);
    define(‘S3_UPLOADS_AUTOENABLE’, true);
    define(‘S3_UPLOADS_BUCKET_URL’, ‘…’);

    And those options are greyed out in the admin panel so you won’t be able to change them from there.

    It’s useful when you’re orchestrating multiple sites (via Ansible/Chef/Puppet) and you can set up new sites with security options in place by default.

Viewing 1 replies (of 1 total)
  • Plugin Contributor Maya

    (@tdgu)

    Hi,
    Thanks for your feedback. This look’s like a good improvement, i’ll forward your request to our devs to check further on best approach to implement such thing.

    Thanks

Viewing 1 replies (of 1 total)

The topic ‘Set plugin settings via wp-config.php?’ is closed to new replies.