Environment

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 Presslabs Stack , then the variables can be used in wp-config by editing the file ./config/wp-config.php .

See Also

Page Caching

Configure full page cache for your site to increase performance and ease the load on your WordPress [...]

Routing

Here you can see your IP Address and manage your domain.

Runtime

See your Docker Image, Kubernetes Project Namespace and Kubernetes Site Name.

SMTP

You need to fill in these SMTP settings in order to send emails from your site.