In this section you can create custom environment variables, that you can later use in your code.

The variables you set here are injected at runtime. These variables can be accessed though PHP code by using the function getenv .

Environment section

For example, let’s say you want your trash to be emptied every 7 days. You can create an environment variable called EMPTY_TRASH_DAYS with the value 7, which you can then use in your wp-config file .

define( 'EMPTY_TRASH_DAYS', getenv('EMPTY_TRASH_DAYS') );

If when you’ve migrated your site you’ve used our Example project for running a classic WordPress setup on Bitpoke Stack , then the variables can be used in wp-config by editing the file ./config/wp-config.php .