Skip to content

Custom wp-config.php file parameter for wp config set command #138

@Peneheals

Description

@Peneheals

Feature Request

Describe your use case and the problem you are facing

I'm using custom wp-config.php files outside of the webroot on some hosts which are included in the normal wp-config.php files. It would be great to see a new wp config set option where I can set the full path of the included wp-config-custom.php or a related path from the wp-config.php and let the wp config set command set the desired variable there.

Describe the solution you'd like

Add a new parameter, for example --config-file=<path> and let the "magic" happen' in it, not just in the regular wp-config.php file.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions